diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-30 17:28:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-30 17:28:37 +0300 |
commit | f8b6f8cbb252054404b2716960972669f4047a9f (patch) | |
tree | c6adda65656791c00a658bb607142bcab9221a51 /src/utils/process.cpp | |
parent | 61adaf9555e0e730f5ac1e8996923c0abe7f5782 (diff) | |
download | ManaVerse-f8b6f8cbb252054404b2716960972669f4047a9f.tar.gz ManaVerse-f8b6f8cbb252054404b2716960972669f4047a9f.tar.bz2 ManaVerse-f8b6f8cbb252054404b2716960972669f4047a9f.tar.xz ManaVerse-f8b6f8cbb252054404b2716960972669f4047a9f.zip |
Fix some clang issues.
Diffstat (limited to 'src/utils/process.cpp')
-rw-r--r-- | src/utils/process.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils/process.cpp b/src/utils/process.cpp index a12fb4301..a1c9d8a72 100644 --- a/src/utils/process.cpp +++ b/src/utils/process.cpp @@ -212,7 +212,10 @@ bool execFile(const std::string &pathName, const std::string &name, arg2.c_str(), static_cast<char *>(nullptr)); } _exit(-1); + PRAGMA45(GCC diagnostic push) + PRAGMA45(GCC diagnostic ignored "-Wunreachable-code-return") return false; + PRAGMA45(GCC diagnostic pop) } return true; } |