Sisyphus repository
Last update: 17 october 2019 | SRPMs: 17500 | Visits: 15287597
en ru br
ALT Linux repos
S:2.32.1-alt4
5.0: 2.26.0-alt1
4.1: 2.22.0-alt5.M41.2
4.0: 2.16.0-alt1
3.0: 2.10.1-alt1

Group :: System/Libraries
RPM: libgnome

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: libgnome-2.32.1-up-warning.patch
Download


From ea5e602fb0b316b8e4f76a803404885c7200142c Mon Sep 17 00:00:00 2001
From: Kjartan Maraas <kmaraas@gnome.org>
Date: Mon, 07 Feb 2011 18:17:53 +0000
Subject: Fix compiler warnings
---
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,
--
cgit v0.9.1
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin