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);