aboutsummaryrefslogtreecommitdiff
path: root/sway/main.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2016-12-01 21:58:38 -0500
committerDrew DeVault <sir@cmpwn.com>2016-12-01 21:58:38 -0500
commitdc4b57c868662e76dc4363eca6ddd0d73284eb72 (patch)
treef7a615b112f49d7c3717144d3e183515350d1ecd /sway/main.c
parent21e1b2bef3d3cda3d10d4dc2aafe5fcac583c2a5 (diff)
Shut Clang up
Diffstat (limited to 'sway/main.c')
-rw-r--r--sway/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/main.c b/sway/main.c
index 4704f900..a6721fba 100644
--- a/sway/main.c
+++ b/sway/main.c
@@ -145,7 +145,7 @@ static void log_kernel() {
static void security_sanity_check() {
// TODO: Notify users visually if this has issues
- struct stat s = {0};
+ struct stat s;
if (stat("/proc", &s)) {
sway_log(L_ERROR,
"!! DANGER !! /proc is not available - sway CANNOT enforce security rules!");