mirror of
https://github.com/swaywm/sway.git
synced 2026-04-25 06:46:24 -04:00
swaybar: Use "!ptr" for comparison to NULL
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
This commit is contained in:
parent
a6d761a31c
commit
c71a8b0b7b
4 changed files with 6 additions and 6 deletions
|
|
@ -13,7 +13,7 @@
|
|||
#include "swaybar/status_line.h"
|
||||
|
||||
void i3bar_block_unref(struct i3bar_block *block) {
|
||||
if (block == NULL) {
|
||||
if (!block) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue