forked from mindspore-Ecosystem/mindspore
!14994 clean code
From: @jiangzg001 Reviewed-by: @oacjiewen,@c_34 Signed-off-by: @c_34
This commit is contained in:
commit
24675b2081
|
@ -174,7 +174,6 @@ std::string RealPath(std::string_view path) {
|
|||
char realPathMem[PATH_MAX] = {0};
|
||||
char *realPathRet = nullptr;
|
||||
realPathRet = realpath(path.data(), realPathMem);
|
||||
|
||||
if (realPathRet == nullptr) {
|
||||
std::cout << "File: " << path << " is not exist.";
|
||||
return "";
|
||||
|
|
Loading…
Reference in New Issue