mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-07 05:10:36 +01:00
ifnet: fix possible use of uninitialized variable
Detected by cppcheck. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
This commit is contained in:
parent
d7ad91d1b4
commit
5bbafdc632
1 changed files with 1 additions and 1 deletions
|
|
@ -313,7 +313,7 @@ is_ip4_address (const char *in_address)
|
|||
gboolean result = FALSE;
|
||||
gchar *tmp;
|
||||
GRegex *regex = g_regex_new (pattern, 0, 0, NULL);
|
||||
GMatchInfo *match_info;
|
||||
GMatchInfo *match_info = NULL;
|
||||
|
||||
if (!address)
|
||||
goto done;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue