[libgnome] Fix compiler warnings
- From: Kjartan Maraas <kmaraas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgnome] Fix compiler warnings
- Date: Mon, 7 Feb 2011 18:18:01 +0000 (UTC)
commit ea5e602fb0b316b8e4f76a803404885c7200142c
Author: Kjartan Maraas <kmaraas gnome org>
Date: Mon Feb 7 19:17:53 2011 +0100
Fix compiler warnings
libgnome/gnome-config.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libgnome/gnome-config.c b/libgnome/gnome-config.c
index 2a489b3..e74f420 100644
--- a/libgnome/gnome-config.c
+++ b/libgnome/gnome-config.c
@@ -1988,7 +1988,7 @@ void
gnome_config_set_string_ (const char *path, const char *new_value, gboolean priv)
{
ParsedPath *pp;
- const char *r;
+ const char *r G_GNUC_UNUSED;
pp = parse_path (path, priv);
r = access_config (SET, pp->section, pp->key, new_value, pp->file,
@@ -2018,7 +2018,7 @@ gnome_config_set_int_ (const char *path, int new_value, gboolean priv)
{
ParsedPath *pp;
char intbuf [40];
- const char *r;
+ const char *r G_GNUC_UNUSED;
pp = parse_path (path, priv);
g_snprintf (intbuf, sizeof(intbuf), "%d", new_value);
@@ -2049,7 +2049,7 @@ gnome_config_set_float_ (const char *path, gdouble new_value, gboolean priv)
{
ParsedPath *pp;
char floatbuf [40];
- const char *r;
+ const char *r G_GNUC_UNUSED;
pp = parse_path (path, priv);
@@ -2083,7 +2083,7 @@ void
gnome_config_set_bool_ (const char *path, gboolean new_value, gboolean priv)
{
ParsedPath *pp;
- const char *r;
+ const char *r G_GNUC_UNUSED;
pp = parse_path (path, priv);
r = access_config (SET, pp->section, pp->key,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]