summaryrefslogtreecommitdiff
path: root/meta/recipes-connectivity/gypsy/files/fix-unused-but-set-variable-warning.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/gypsy/files/fix-unused-but-set-variable-warning.patch')
-rw-r--r--meta/recipes-connectivity/gypsy/files/fix-unused-but-set-variable-warning.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/gypsy/files/fix-unused-but-set-variable-warning.patch b/meta/recipes-connectivity/gypsy/files/fix-unused-but-set-variable-warning.patch
new file mode 100644
index 000000000..d82697088
--- /dev/null
+++ b/meta/recipes-connectivity/gypsy/files/fix-unused-but-set-variable-warning.patch
@@ -0,0 +1,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: