NetworkManager r4221 - trunk/system-settings/plugins/ifupdown



Author: dcbw
Date: Mon Oct 27 00:35:44 2008
New Revision: 4221
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=4221&view=rev

Log:
Fix warning

Modified:
   trunk/system-settings/plugins/ifupdown/interface_parser.c

Modified: trunk/system-settings/plugins/ifupdown/interface_parser.c
==============================================================================
--- trunk/system-settings/plugins/ifupdown/interface_parser.c	(original)
+++ trunk/system-settings/plugins/ifupdown/interface_parser.c	Mon Oct 27 00:35:44 2008
@@ -98,7 +98,9 @@
 			break;
 		// If the line did not match, skip it
 		if (ret == 0) {
-			fgets(rline, 255, inp);
+			char *ignored;
+
+			ignored = fgets(rline, 255, inp);
 			continue;
 		}
 



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