aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-01-24 22:32:00 -0600
committerCharles Kerr <charles.kerr@canonical.com>2012-01-24 22:32:00 -0600
commit3cfb188eb9e1afb0b57c503622f63c69e1568913 (patch)
treef07e129845f3641f288dbac76757999c7aa0e512
parentec05da4c7b67aa27d9da78027d4c7d826519c43b (diff)
downloadayatana-indicator-application-3cfb188eb9e1afb0b57c503622f63c69e1568913.tar.gz
ayatana-indicator-application-3cfb188eb9e1afb0b57c503622f63c69e1568913.tar.bz2
ayatana-indicator-application-3cfb188eb9e1afb0b57c503622f63c69e1568913.zip
fix dead store found by clang static analyzer
-rw-r--r--src/application-service-appstore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c
index edc517f..51f975c 100644
--- a/src/application-service-appstore.c
+++ b/src/application-service-appstore.c
@@ -403,7 +403,7 @@ load_override_file (GHashTable * hash, const gchar * filename)
return;
}
- gchar * key = keys[0];
+ gchar * key;
gint i;
for (i = 0; (key = keys[i]) != NULL; i++) {