about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2019-12-19 20:38:05 +0100
committerMichael Vetter <jubalh@iodoru.org>2019-12-19 20:38:05 +0100
commitfdd6897eeedde51e1fa919f2ad2e00bdfb2d96de (patch)
tree8040c13e27fda93f3cc21dcc0240d829286a5340 /src/ui
parent5170a2d5429e6a3e5c27501435179f823397ad4c (diff)
downloadprofani-tty-fdd6897eeedde51e1fa919f2ad2e00bdfb2d96de.tar.gz
Add workaround for stupid compiler warning
Makes travis builds for TW, Debian and Arch fail.
Diffstat (limited to 'src/ui')
-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 9c0adf8b..800c7cbb 100644
--- a/src/ui/occupantswin.c
+++ b/src/ui/occupantswin.c
@@ -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);