summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/gypsy/files/fix-unused-but-set-variable-warning.patch
blob: d276b2cd54bff1c710456be124ee6487319a0433 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Upstream-Status: Accepted

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: