2768dfdd8d
Resolves: #2044886 Signed-off-by: Robbie Harwood <rharwood@redhat.com>
37 lines
946 B
Diff
37 lines
946 B
Diff
From 05da4afd1908b0bd8303435aaa342f84a03dfa60 Mon Sep 17 00:00:00 2001
|
|
From: Robbie Harwood <rharwood@redhat.com>
|
|
Date: Wed, 9 Feb 2022 14:42:24 -0500
|
|
Subject: [PATCH 4/6] 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 c19eb80..01c612f 100644
|
|
--- a/src/daemon.c
|
|
+++ b/src/daemon.c
|
|
@@ -916,10 +916,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)
|
|
{
|
|
@@ -998,7 +994,6 @@ shutdown:
|
|
}
|
|
return 0;
|
|
}
|
|
-#pragma GCC diagnostic pop
|
|
|
|
static int
|
|
get_uid_and_gid(context *ctx, char **homedir)
|
|
--
|
|
2.34.1
|
|
|