f26bc9954b
Resolves: #2044886 Signed-off-by: Robbie Harwood <rharwood@redhat.com>
34 lines
930 B
Diff
34 lines
930 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Robbie Harwood <rharwood@redhat.com>
|
|
Date: Wed, 9 Feb 2022 14:42:24 -0500
|
|
Subject: [PATCH] Disable pragmas for warnings that are too old
|
|
|
|
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
|
|
---
|
|
src/daemon.c | 5 -----
|
|
1 file changed, 5 deletions(-)
|
|
|
|
diff --git a/src/daemon.c b/src/daemon.c
|
|
index ff88210..d66dd50 100644
|
|
--- a/src/daemon.c
|
|
+++ b/src/daemon.c
|
|
@@ -917,10 +917,6 @@ do_shutdown(context *ctx, int nsockets, struct pollfd *pollfds)
|
|
free(pollfds);
|
|
}
|
|
|
|
-/* GCC -fanalyzer has trouble with realloc
|
|
- * https://bugzilla.redhat.com/show_bug.cgi?id=2047926 */
|
|
-#pragma GCC diagnostic push
|
|
-#pragma GCC diagnostic ignored "-Wanalyzer-use-of-uninitialized-value"
|
|
static int
|
|
handle_events(context *ctx)
|
|
{
|
|
@@ -999,7 +995,6 @@ shutdown:
|
|
}
|
|
return 0;
|
|
}
|
|
-#pragma GCC diagnostic pop
|
|
|
|
static int
|
|
get_uid_and_gid(context *ctx, char **homedir)
|