summaryrefslogtreecommitdiff
path: root/src/utils/process.cpp
diff options
context:
space:
mode:
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;
}