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

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: