Sophie

Sophie

distrib > Fedora > 17 > i386 > media > updates-src > by-pkgid > 7dac05f480a3949f986fb0a5709f625f > files > 1

gypsy-0.9-1.fc17.src.rpm

diff -up gypsy-0.8/gypsy/gypsy-time.c.unusedvar gypsy-0.8/gypsy/gypsy-time.c
--- gypsy-0.8/gypsy/gypsy-time.c.unusedvar	2011-03-13 12:12:43.000000000 +0000
+++ gypsy-0.8/gypsy/gypsy-time.c	2011-03-13 12:23:38.000000000 +0000
@@ -155,7 +155,9 @@ get_property (GObject    *object,
 	      GValue     *value,
 	      GParamSpec *pspec)
 {
-	GypsyTimePrivate *priv;
+    /* KH: gcc complains about unused var, not sure if GET_PRIVATE hasn't some side effects, 
+     * marking that as unused only so that gcc doesn't bail out anymore */
+	__attribute__((__unused__)) GypsyTimePrivate *priv;
 
 	priv = GET_PRIVATE (object);
 	switch (prop_id) {