summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2020-07-15 08:31:39 +0200
committerbakkeby <[email protected]>2020-07-15 08:31:39 +0200
commit38c77b06f0f4c23e22ee6dd103f71cebe10cd0e5 (patch)
tree66d84ffa7fe53ce9040b96fa26df9eeef06efd5d
parentb84604f821cfe7c9eb6a2a7527ed602040224723 (diff)
downloaddwm-flexipatch-38c77b06f0f4c23e22ee6dd103f71cebe10cd0e5.tar.gz
dwm-flexipatch-38c77b06f0f4c23e22ee6dd103f71cebe10cd0e5.zip
Fixing rawstext defined but not used warning
-rw-r--r--dwm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dwm.c b/dwm.c
index c3bb411..e2cc5f0 100644
--- a/dwm.c
+++ b/dwm.c
@@ -523,11 +523,13 @@ static char stext[1024];
#else
static char stext[512];
#endif // STATUS2D_PATCH
+#if STATUSCMD_PATCH || EXTRABAR_PATCH
#if STATUS2D_PATCH
static char rawstext[1024];
#else
static char rawstext[512];
#endif // STATUS2D_PATCH
+#endif // STATUSCMD_PATCH | EXTRABAR_PATCH
#if EXTRABAR_PATCH
#if STATUS2D_PATCH && !STATUSCOLORS_PATCH
static char estext[1024];