From f8b6f8cbb252054404b2716960972669f4047a9f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 30 Apr 2016 17:28:37 +0300 Subject: Fix some clang issues. --- src/utils/process.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/utils/process.cpp') 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(nullptr)); } _exit(-1); + PRAGMA45(GCC diagnostic push) + PRAGMA45(GCC diagnostic ignored "-Wunreachable-code-return") return false; + PRAGMA45(GCC diagnostic pop) } return true; } -- cgit v1.2.3-70-g09d2