opt: Initialize all Client Pointers to NULL

This commit is contained in:
DreamMaoMao committed 2025-10-06 14:11:36 +08:00
1 parent a765641f4c
commit 1eb5904aa6
8 files changed
+51 -52

No files matched your search

+1 -1
View File
@@ -2858,7 +2858,7 @@ void reapply_monitor_rules(void) {
}
void reapply_border(void) {
Client *c;
Client *c = NULL;
// reset border width when config change
wl_list_for_each(c, &clients, link) {