1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-23 21:45:30 +00:00

Add workaround for stupid compiler warning

Makes travis builds for TW, Debian and Arch fail.
This commit is contained in:
Michael Vetter 2019-12-19 20:38:05 +01:00
parent 5170a2d542
commit fdd6897eee

View File

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