diff --git a/src/ui/occupantswin.c b/src/ui/occupantswin.c index 70314c2b..aff680ea 100644 --- a/src/ui/occupantswin.c +++ b/src/ui/occupantswin.c @@ -44,7 +44,7 @@ static void _occuptantswin_occupant(ProfLayoutSplit *layout, Occupant *occupant, gboolean showjid) { - int colour; + int colour = 0; //init to workaround compiler warning theme_item_t presence_colour = THEME_ROSTER_ONLINE; //init to workaround compiler warning if (prefs_get_boolean(PREF_OCCUPANTS_COLOR_NICK)) {