mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-24 21:36:21 +00:00
Add workaround for stupid compiler warning
Makes travis builds for TW, Debian and Arch fail.
This commit is contained in:
@@ -45,7 +45,7 @@ static void
|
|||||||
_occuptantswin_occupant(ProfLayoutSplit *layout, Occupant *occupant, gboolean showjid)
|
_occuptantswin_occupant(ProfLayoutSplit *layout, Occupant *occupant, gboolean showjid)
|
||||||
{
|
{
|
||||||
int colour;
|
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)) {
|
if (prefs_get_boolean(PREF_OCCUPANTS_COLOR_NICK)) {
|
||||||
colour = theme_hash_attrs(occupant->nick);
|
colour = theme_hash_attrs(occupant->nick);
|
||||||
|
|||||||
Reference in New Issue
Block a user