aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2015-12-22 08:14:50 -0500
committerLibravatar Drew DeVault <sir@cmpwn.com>2015-12-22 08:14:50 -0500
commit7c06ef35defba67180f45d5108768b18c701423f (patch)
tree9a57ebbda6d1a814b6ebd000caa6a39849c67a22
parentMerge pull request #393 from robotanarchy/musl-libc-compatibility (diff)
downloadsway-7c06ef35defba67180f45d5108768b18c701423f.tar.gz
sway-7c06ef35defba67180f45d5108768b18c701423f.tar.zst
sway-7c06ef35defba67180f45d5108768b18c701423f.zip
Initialize ID
-rw-r--r--sway/commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands.c b/sway/commands.c
index b1b1c5b6..b9eb82ed 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -1738,7 +1738,7 @@ static struct cmd_results *bar_cmd_hidden_state(int argc, char **argv) {
1738 return bar_set_hidden_state(config->current_bar, state); 1738 return bar_set_hidden_state(config->current_bar, state);
1739 } 1739 }
1740 1740
1741 const char *id; 1741 const char *id = NULL;
1742 if (argc == 2) { 1742 if (argc == 2) {
1743 id = argv[1]; 1743 id = argv[1];
1744 } 1744 }