about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/ui/occupantswin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/occupantswin.c b/src/ui/occupantswin.c
index 70314c2b..aff680ea 100644
--- a/src/ui/occupantswin.c
+++ b/src/ui/occupantswin.c
@@ -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)) {