[tracker] tracker-utils: Fixed compiler warning
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] tracker-utils: Fixed compiler warning
- Date: Wed, 10 Mar 2010 12:33:49 +0000 (UTC)
commit e982a1c5be47ec7d61db5279d14ba7284cec60d5
Author: Philip Van Hoof <philip codeminded be>
Date: Wed Mar 10 13:33:00 2010 +0100
tracker-utils: Fixed compiler warning
src/tracker-utils/tracker-sparql.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/tracker-utils/tracker-sparql.c b/src/tracker-utils/tracker-sparql.c
index 89a45d1..04a5b08 100644
--- a/src/tracker-utils/tracker-sparql.c
+++ b/src/tracker-utils/tracker-sparql.c
@@ -193,6 +193,7 @@ main (int argc, char **argv)
GOptionContext *context;
GError *error = NULL;
GPtrArray *results;
+ const gchar *error_message;
setlocale (LC_ALL, "");
@@ -212,8 +213,6 @@ main (int argc, char **argv)
return EXIT_SUCCESS;
}
- const gchar *error_message;
-
if (!list_classes && !list_class_prefixes && !list_properties &&
!list_notifies && !search && !file && !query) {
error_message = _("An argument must be supplied");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]