From fdd6897eeedde51e1fa919f2ad2e00bdfb2d96de Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Thu, 19 Dec 2019 20:38:05 +0100 Subject: [PATCH] Add workaround for stupid compiler warning Makes travis builds for TW, Debian and Arch fail. --- src/ui/occupantswin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/occupantswin.c b/src/ui/occupantswin.c index 9c0adf8b..800c7cbb 100644 --- a/src/ui/occupantswin.c +++ b/src/ui/occupantswin.c @@ -45,7 +45,7 @@ static void _occuptantswin_occupant(ProfLayoutSplit *layout, Occupant *occupant, gboolean showjid) { int colour; - theme_item_t presence_colour; + theme_item_t presence_colour = THEME_ROSTER_ONLINE; //init to workaround compiler warning if (prefs_get_boolean(PREF_OCCUPANTS_COLOR_NICK)) { colour = theme_hash_attrs(occupant->nick);