From c0705faaf29e48bc92a39f02c50ec15862a1af3d Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Wed, 3 Apr 2024 15:23:57 +0200 Subject: [PATCH] Revert "fix gcc warnings" The patch doesn't fix compilation. This reverts commit 98cabe557f7d018efa5c49dd92504b3409359f6a. --- src/libnm-glib-aux/nm-uuid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libnm-glib-aux/nm-uuid.c b/src/libnm-glib-aux/nm-uuid.c index 69c34b2b9..df1b10c0a 100644 --- a/src/libnm-glib-aux/nm-uuid.c +++ b/src/libnm-glib-aux/nm-uuid.c @@ -434,7 +434,7 @@ nm_uuid_generate_from_strings_strv(NMUuidType uuid_type, { nm_auto_str_buf NMStrBuf str = NM_STR_BUF_INIT_A(NM_UTILS_GET_NEXT_REALLOC_SIZE_232, TRUE); gsize slen; - const char *s = NULL; + const char *s; if (len >= 0) { gboolean has_nulls = FALSE;