diff options
author | fanquake <fanquake@gmail.com> | 2023-06-29 14:41:33 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2023-06-29 14:41:33 +0100 |
commit | 3210f224dbeaf0f9de09d4e83c3e6666128a6717 (patch) | |
tree | 312512079305edfd002565fb73634b0679076e05 /src/common | |
parent | c6287faae4c0e705a9258a340dfcf548906f12af (diff) | |
download | bitcoin-3210f224dbeaf0f9de09d4e83c3e6666128a6717.tar.xz |
refactor: remove in-code warning suppression
Should no-longer be needed post #27872. If it is, then
suppress-external-warnings should be fixed.
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/run_command.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/common/run_command.cpp b/src/common/run_command.cpp index 6ad9f75b5d..8bd5febd53 100644 --- a/src/common/run_command.cpp +++ b/src/common/run_command.cpp @@ -12,16 +12,7 @@ #include <univalue.h> #ifdef ENABLE_EXTERNAL_SIGNER -#if defined(__GNUC__) -// Boost 1.78 requires the following workaround. -// See: https://github.com/boostorg/process/issues/235 -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wnarrowing" -#endif #include <boost/process.hpp> -#if defined(__GNUC__) -#pragma GCC diagnostic pop -#endif #endif // ENABLE_EXTERNAL_SIGNER UniValue RunCommandParseJSON(const std::string& str_command, const std::string& str_std_in) |