summaryrefslogtreecommitdiff
path: root/mateweather
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-07-08 21:02:09 +0200
committerraveit65 <[email protected]>2020-07-17 11:43:12 +0200
commit46329dddf49af7a60e04d26c550c5919bbda9909 (patch)
tree21265004a9b04b45a56ae0c7cf638173842b7c34 /mateweather
parentb8738dde7048b76f3d2a11e6371a67d5b0383080 (diff)
downloadmate-applets-46329dddf49af7a60e04d26c550c5919bbda9909.tar.bz2
mate-applets-46329dddf49af7a60e04d26c550c5919bbda9909.tar.xz
Remove warning about assigned value is never used reported by cppcheck
Diffstat (limited to 'mateweather')
-rw-r--r--mateweather/mateweather-dialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mateweather/mateweather-dialog.c b/mateweather/mateweather-dialog.c
index b84f94c8..e8ff29ae 100644
--- a/mateweather/mateweather-dialog.c
+++ b/mateweather/mateweather-dialog.c
@@ -115,7 +115,7 @@ static void link_cb(GtkButton* button, gpointer data)
static gchar* replace_multiple_new_lines(gchar* s)
{
gchar *prev_s = s;
- gint count = 0;
+ gint count;
gint i;
if (s == NULL) {