[Goodies-commits] r3156 - xfce4-smartpm-plugin/trunk/src
Anders F Bjorklund
afb at xfce.org
Fri Sep 7 17:18:09 CEST 2007
Author: afb
Date: 2007-09-07 15:18:09 +0000 (Fri, 07 Sep 2007)
New Revision: 3156
Modified:
xfce4-smartpm-plugin/trunk/src/xfcesmart.c
Log:
silence warnings
Modified: xfce4-smartpm-plugin/trunk/src/xfcesmart.c
===================================================================
--- xfce4-smartpm-plugin/trunk/src/xfcesmart.c 2007-09-07 14:55:42 UTC (rev 3155)
+++ xfce4-smartpm-plugin/trunk/src/xfcesmart.c 2007-09-07 15:18:09 UTC (rev 3156)
@@ -73,6 +73,8 @@
#define TIMEOUT_TIME 1000 /* milliseconds */
+#define UNUSED(x) (void) x
+
/* prototypes */
static void
smart_construct (XfcePanelPlugin *plugin);
@@ -165,7 +167,6 @@
FILE *file;
gchar *msg;
gchar *s;
- int c;
packages = -1;
@@ -266,6 +267,7 @@
{
SmartPlugin *smart = user_data;
/* nothing to do */
+ UNUSED(smart);
}
static int
@@ -431,7 +433,6 @@
FILE *file;
gchar *msg;
gchar *s;
- int c;
seen_header = FALSE;
packages = 0;
@@ -528,6 +529,7 @@
{
SmartPlugin *smart = user_data;
/* nothing to do */
+ UNUSED(smart);
}
static int
@@ -633,7 +635,6 @@
GError *error = NULL;
gchar *program;
gchar *command;
- gboolean ok;
switch (smart->package_manager)
{
@@ -716,7 +717,6 @@
{
XfceRc *rc;
gchar *file;
- const gchar *value;
/* get the plugin config file location */
file = xfce_panel_plugin_save_location (smart->plugin, TRUE);
More information about the Goodies-commits
mailing list