summaryrefslogtreecommitdiff
path: root/src/utils/process.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-30 17:28:37 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-30 17:28:37 +0300
commitf8b6f8cbb252054404b2716960972669f4047a9f (patch)
treec6adda65656791c00a658bb607142bcab9221a51 /src/utils/process.cpp
parent61adaf9555e0e730f5ac1e8996923c0abe7f5782 (diff)
downloadManaVerse-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.cpp3
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;
}