summaryrefslogtreecommitdiffstats
path: root/compton.h
diff options
context:
space:
mode:
Diffstat (limited to 'compton.h')
-rw-r--r--compton.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/compton.h b/compton.h
index 2e4e3d130..aba07c0d1 100644
--- a/compton.h
+++ b/compton.h
@@ -146,16 +146,16 @@ free_damage(session_t *ps, Damage *p) {
}
}
-#ifdef CONFIG_C2
/**
* Destroy a condition list.
*/
static inline void
free_wincondlst(c2_lptr_t **pcondlst) {
+#ifdef CONFIG_C2
while ((*pcondlst = c2_free_lptr(*pcondlst)))
continue;
-}
#endif
+}
/**
* Check whether a paint_t contains enough data.