diff --git a/daemon/command.c b/daemon/command.c index 76bebe0f2..99fc2c8d8 100644 --- a/daemon/command.c +++ b/daemon/command.c @@ -103,9 +103,6 @@ commandf (char **stdoutput, char **stderror, unsigned flags, return r; } -// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99193 -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wanalyzer-mismatching-deallocation" /** * Same as C, but we allow the status code from the * subcommand to be non-zero, and return that status code. @@ -154,7 +151,6 @@ commandrf (char **stdoutput, char **stderror, unsigned flags, return r; } -#pragma GCC diagnostic pop /** * Same as C, but passing in an argv array. diff --git a/daemon/debug.c b/daemon/debug.c index 34681e1cd..61eb93712 100644 --- a/daemon/debug.c +++ b/daemon/debug.c @@ -111,9 +111,6 @@ do_debug (const char *subcmd, char *const *argv) return NULL; } -// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99193 -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wanalyzer-mismatching-deallocation" static char * debug_help (const char *subcmd, size_t argc, char *const *const argv) { @@ -143,7 +140,6 @@ debug_help (const char *subcmd, size_t argc, char *const *const argv) return r; } -#pragma GCC diagnostic pop /* Show open FDs. */ static char *