network-manager-applet r517 - trunk/src



Author: dcbw
Date: Thu Feb  7 23:23:46 2008
New Revision: 517
URL: http://svn.gnome.org/viewvc/network-manager-applet?rev=517&view=rev

Log:
Fix uninitialized variable warning

Modified:
   trunk/src/applet-dialogs.c

Modified: trunk/src/applet-dialogs.c
==============================================================================
--- trunk/src/applet-dialogs.c	(original)
+++ trunk/src/applet-dialogs.c	Thu Feb  7 23:23:46 2008
@@ -259,7 +259,7 @@
 {
 	GtkWidget *dialog;
 	NMDevice *device;
-	NMConnection *connection;
+	NMConnection *connection = NULL;
 
 	device = applet_get_first_active_device (applet);
 	if (device)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]