This repository has been archived on 2024-11-07. You can view files and clone it, but cannot push or open issues or pull requests.
libgypsy/gypsy-0.8-gcc-4.7.patch

15 lines
641 B
Diff

diff -up gypsy-0.8/gypsy/gypsy-time.c.unusedvar gypsy-0.8/gypsy/gypsy-time.c
--- gypsy-0.8/gypsy/gypsy-time.c.unusedvar 2011-03-13 12:12:43.000000000 +0000
+++ gypsy-0.8/gypsy/gypsy-time.c 2011-03-13 12:23:38.000000000 +0000
@@ -155,7 +155,9 @@ get_property (GObject *object,
GValue *value,
GParamSpec *pspec)
{
- GypsyTimePrivate *priv;
+ /* KH: gcc complains about unused var, not sure if GET_PRIVATE hasn't some side effects,
+ * marking that as unused only so that gcc doesn't bail out anymore */
+ __attribute__((__unused__)) GypsyTimePrivate *priv;
priv = GET_PRIVATE (object);
switch (prop_id) {