summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2024-04-03 15:23:57 +0200
committerBeniamino Galvani <bgalvani@redhat.com>2024-04-05 11:40:44 +0200
commitc0705faaf29e48bc92a39f02c50ec15862a1af3d (patch)
tree942061120fe3288213497ae34194fed2205c62b5
parent628371423b798a0eb28f34962dd44b89c6e26602 (diff)
Revert "fix gcc warnings"
The patch doesn't fix compilation. This reverts commit 98cabe557f7d018efa5c49dd92504b3409359f6a.
-rw-r--r--src/libnm-glib-aux/nm-uuid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libnm-glib-aux/nm-uuid.c b/src/libnm-glib-aux/nm-uuid.c
index 69c34b2b98..df1b10c0ac 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;