[Pkg-utopia-maintainers] Bug#517520: network-manager_0.7.0.97 fails to build on alpha

Arthur Loiret aloiret at debian.org
Sat Feb 28 11:34:18 UTC 2009


Package: network-manager
Version: 0.7.0.97-1
Severity: serious
User: debian-alpha at lists.debian.org
Tags: patch

Hi,

network-manager_0.7.0.97 fails to build on alpha because of a false-positive
warning from gcc-4.2 (should not happen with gcc-4.3), here is a quick patch
to fix it, which can be removed once alpha will switch to gcc-4.3:

--- test/nm-tool.c.1	2009-02-28 12:13:13.000000000 +0100
+++ test/nm-tool.c	2009-02-28 12:13:19.000000000 +0100
@@ -508,7 +508,7 @@
                     GHashTable *table)
 {
 	DBusGProxy *proxy;
-	NMConnection *connection;
+	NMConnection *connection = NULL;
 	const char *service;
 	GError *error = NULL;
 	GHashTable *settings = NULL;





More information about the Pkg-utopia-maintainers mailing list