From 46c094a57f4b8b3b67909e1f390690306d65a577 Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Wed, 19 Oct 2016 00:26:02 +0200 Subject: [PATCH] Removed loop initial declarations. --- src/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 12cbf30..0a158e8 100644 --- a/src/main.c +++ b/src/main.c @@ -1327,6 +1327,7 @@ void vb_gui_style_update(Client *c, const char *setting_name_new, const char *se /* The css style sheet document being composed in this function */ GString *style_sheet = g_string_new(GUI_STYLE_CSS_BASE); + size_t i; /* Mapping from vimb config setting name to css style sheet string */ static const char *setting_style_map[][2] = { @@ -1366,7 +1367,7 @@ void vb_gui_style_update(Client *c, const char *setting_name_new, const char *se }; /* For each supported style setting name */ - for (size_t i = 0; setting_style_map[i][0]; i++) { + for (i = 0; setting_style_map[i][0]; i++) { const char *setting_name = setting_style_map[i][0]; const char *style_string = setting_style_map[i][1]; -- 2.20.1