summaryrefslogtreecommitdiffstats
path: root/src/libsystemd/sd-journal/lookup3.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2025-01-16 07:48:21 +0100
committerGitHub <noreply@github.com>2025-01-16 07:48:21 +0100
commit30adccf3d4c298e0b5f8cee19bab1d70c8726b2d (patch)
tree35e72bec00106daf8d55876ea68810face263ec2 /src/libsystemd/sd-journal/lookup3.c
parentpid1: add GracefulOptions= setting to .mount units (#36023) (diff)
parentmeson: enable -Wzero-as-null-pointer-constant (diff)
downloadsystemd-30adccf3d4c298e0b5f8cee19bab1d70c8726b2d.tar.xz
systemd-30adccf3d4c298e0b5f8cee19bab1d70c8726b2d.zip
meson: enable -Wzero-as-null-pointer-constant (#36028)
Support for C added in gcc 15: https://github.com/gcc-mirror/gcc/commit/236c0829ee21a179c81b83f0d7f112ca23c47a4d
Diffstat (limited to 'src/libsystemd/sd-journal/lookup3.c')
-rw-r--r--src/libsystemd/sd-journal/lookup3.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libsystemd/sd-journal/lookup3.c b/src/libsystemd/sd-journal/lookup3.c
index c2a640687c..8e3dac05af 100644
--- a/src/libsystemd/sd-journal/lookup3.c
+++ b/src/libsystemd/sd-journal/lookup3.c
@@ -55,9 +55,7 @@ on 1 byte), but shoehorning those bytes into integers efficiently is messy.
# include <endian.h> /* attempt to define endianness */
#endif
-#if __GNUC__ >= 7
_Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"")
-#endif
/*
* My best guess at if you are big-endian or little-endian. This may