Add workaround for compiler warning
Regards https://github.com/profanity-im/profanity/issues/1265
This commit is contained in:
@@ -44,7 +44,7 @@
|
|||||||
static void
|
static void
|
||||||
_occuptantswin_occupant(ProfLayoutSplit *layout, Occupant *occupant, gboolean showjid)
|
_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
|
theme_item_t presence_colour = THEME_ROSTER_ONLINE; //init to workaround compiler warning
|
||||||
|
|
||||||
if (prefs_get_boolean(PREF_OCCUPANTS_COLOR_NICK)) {
|
if (prefs_get_boolean(PREF_OCCUPANTS_COLOR_NICK)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user