mirror of
https://github.com/swaywm/sway.git
synced 2024-12-28 07:56:31 +01:00
Shut Clang up
This commit is contained in:
parent
21e1b2bef3
commit
dc4b57c868
1 changed files with 1 additions and 1 deletions
|
@ -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!");
|
||||
|
|
Loading…
Reference in a new issue