Silence new gcc warnings

gcc 4.6.0 has started to warn about set-but-unused variables.
So don't do that, then.
This commit is contained in:
Matthias Clasen
2011-01-23 21:50:39 -05:00
parent 94c4a312c1
commit d9fcc4c630
56 changed files with 3301 additions and 3497 deletions

View File

@ -187,11 +187,7 @@ gtk_info_bar_set_property (GObject *object,
const GValue *value,
GParamSpec *pspec)
{
GtkInfoBar *info_bar;
GtkInfoBarPrivate *priv;
info_bar = GTK_INFO_BAR (object);
priv = info_bar->priv;
GtkInfoBar *info_bar = GTK_INFO_BAR (object);
switch (prop_id)
{
@ -210,11 +206,7 @@ gtk_info_bar_get_property (GObject *object,
GValue *value,
GParamSpec *pspec)
{
GtkInfoBar *info_bar;
GtkInfoBarPrivate *priv;
info_bar = GTK_INFO_BAR (object);
priv = info_bar->priv;
GtkInfoBar *info_bar = GTK_INFO_BAR (object);
switch (prop_id)
{