Fix possible uninitialized variable

git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4095 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams
2008-09-24 16:49:59 +00:00
parent 7faa88681b
commit e15b737270

View File

@@ -357,7 +357,7 @@ static char *
plugin_get_hostname (SCPluginKeyfile *plugin)
{
GKeyFile *key_file;
char *hostname;
char *hostname = NULL;
GError *error = NULL;
key_file = g_key_file_new ();