commit dc4b57c868662e76dc4363eca6ddd0d73284eb72
parent 21e1b2bef3d3cda3d10d4dc2aafe5fcac583c2a5
Author: Drew DeVault <sir@cmpwn.com>
Date: Thu, 1 Dec 2016 21:58:38 -0500
Shut Clang up
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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!");