mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-14 06:59:50 -05:00
opt: Initialize all Client Pointers to NULL
This commit is contained in:
parent
36b523fd1a
commit
d4868eb1e4
8 changed files with 51 additions and 52 deletions
|
|
@ -36,7 +36,7 @@ bool is_scroller_layout(Monitor *m) {
|
|||
}
|
||||
|
||||
unsigned int get_tag_status(unsigned int tag, Monitor *m) {
|
||||
Client *c;
|
||||
Client *c = NULL;
|
||||
unsigned int status = 0;
|
||||
wl_list_for_each(c, &clients, link) {
|
||||
if (c->mon == m && c->tags & 1 << (tag - 1) & TAGMASK) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue