aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/gypsy/files/fix-unused-but-set-variable-warning.patch
blob: d826970880a1835bf8d3bae0a0aefcdfd58f4921 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Index: gypsy-0.8/gypsy/gypsy-time.c
===================================================================
--- gypsy-0.8.orig/gypsy/gypsy-time.c
+++ gypsy-0.8/gypsy/gypsy-time.c
@@ -156,10 +156,10 @@ get_property (GObject    *object,
 	      GParamSpec *pspec)
 {
 	GypsyTimePrivate *priv;
-
 	priv = GET_PRIVATE (object);
 	switch (prop_id) {
 	case PROP_PATH:
+		g_value_set_string (value, priv->object_path);
 		break;
 
 	default: