ifnet: fix possible use of uninitialized variable
Detected by cppcheck. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
This commit is contained in:

committed by
Dan Williams

parent
d7ad91d1b4
commit
5bbafdc632
@@ -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;
|
||||
|
Reference in New Issue
Block a user