-
Thomas Haller authored
CC libnm-core/libnm_core_libnm_core_la-nm-utils.lo libnm-core/nm-utils.c:210:6: error: variable 'encodings' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized] if (lang) { ^~~~ libnm-core/nm-utils.c:220:7: note: uninitialized use occurs here if (!encodings) { ^~~~~~~~~ libnm-core/nm-utils.c:210:2: note: remove the 'if' if its condition is always true if (lang) { ^~~~~~~~~~ libnm-core/nm-utils.c:198:30: note: initialize the variable 'encodings' to silence this warning const char *const *encodings; ^ = NULL Fixes: 28a06274
12132154