diff --git a/Common/OS.cpp b/Common/OS.cpp index 049a54c920c5ee33c57ee57c68d5e1898e37c8e4..853e9f42586dda51ffd9efbe30b82a2a45655d0d 100644 --- a/Common/OS.cpp +++ b/Common/OS.cpp @@ -159,7 +159,7 @@ int StatFile(const std::string &fileName) // could get file modification time from buf #else struct _stat buf; - int ret _stat(fileName.c_str(), &buf); + int ret = _stat(fileName.c_str(), &buf); #endif return ret; }