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:
@@ -357,7 +357,7 @@ static char *
|
|||||||
plugin_get_hostname (SCPluginKeyfile *plugin)
|
plugin_get_hostname (SCPluginKeyfile *plugin)
|
||||||
{
|
{
|
||||||
GKeyFile *key_file;
|
GKeyFile *key_file;
|
||||||
char *hostname;
|
char *hostname = NULL;
|
||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
|
|
||||||
key_file = g_key_file_new ();
|
key_file = g_key_file_new ();
|
||||||
|
Reference in New Issue
Block a user