diff --git a/src/libnm-glib-aux/nm-uuid.c b/src/libnm-glib-aux/nm-uuid.c index e39d2ea563..154b483070 100644 --- a/src/libnm-glib-aux/nm-uuid.c +++ b/src/libnm-glib-aux/nm-uuid.c @@ -433,7 +433,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; + const char *s = NULL; if (len > 0) { gboolean has_nulls = FALSE;