NetworkManager r4095 - trunk/system-settings/plugins/keyfile
- From: dcbw svn gnome org
- To: svn-commits-list gnome org
- Subject: NetworkManager r4095 - trunk/system-settings/plugins/keyfile
- Date: Wed, 24 Sep 2008 16:49:59 +0000 (UTC)
Author: dcbw
Date: Wed Sep 24 16:49:59 2008
New Revision: 4095
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=4095&view=rev
Log:
Fix possible uninitialized variable
Modified:
trunk/system-settings/plugins/keyfile/plugin.c
Modified: trunk/system-settings/plugins/keyfile/plugin.c
==============================================================================
--- trunk/system-settings/plugins/keyfile/plugin.c (original)
+++ trunk/system-settings/plugins/keyfile/plugin.c Wed Sep 24 16:49:59 2008
@@ -357,7 +357,7 @@
plugin_get_hostname (SCPluginKeyfile *plugin)
{
GKeyFile *key_file;
- char *hostname;
+ char *hostname = NULL;
GError *error = NULL;
key_file = g_key_file_new ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]