M7350/oe-core/meta/recipes-connectivity/gypsy/files/fix-unused-but-set-variable-warning.patch
2024-09-09 08:52:07 +00:00

19 lines
459 B
Diff

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: