1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Add workaround for compiler warning

Regards https://github.com/profanity-im/profanity/issues/1265
This commit is contained in:
Michael Vetter 2020-02-14 11:23:19 +01:00
parent 59e68f7b7a
commit 421c67e284

View File

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