diff options
author | 2018-06-05 23:27:35 +0200 | |
---|---|---|
committer | 2018-06-05 23:27:35 +0200 | |
commit | d6d292897fe589c8734ec7f7304fbd5f1a05c059 (patch) | |
tree | a9c4c3b4ea4ae3e9dc70ad21cbea057a639d5160 /sway/main.c | |
parent | Merge pull request #2095 from emersion/fullscreen-damage-only-visible (diff) | |
download | sway-d6d292897fe589c8734ec7f7304fbd5f1a05c059.tar.gz sway-d6d292897fe589c8734ec7f7304fbd5f1a05c059.tar.zst sway-d6d292897fe589c8734ec7f7304fbd5f1a05c059.zip |
Remove suspicious unconditional return
This return effectively disables the log_kernel function
Diffstat (limited to 'sway/main.c')
-rw-r--r-- | sway/main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sway/main.c b/sway/main.c index e03b8e3a..a7e808ad 100644 --- a/sway/main.c +++ b/sway/main.c | |||
@@ -160,7 +160,6 @@ static void log_distro() { | |||
160 | } | 160 | } |
161 | 161 | ||
162 | static void log_kernel() { | 162 | static void log_kernel() { |
163 | return; | ||
164 | FILE *f = popen("uname -a", "r"); | 163 | FILE *f = popen("uname -a", "r"); |
165 | if (!f) { | 164 | if (!f) { |
166 | wlr_log(L_INFO, "Unable to determine kernel version"); | 165 | wlr_log(L_INFO, "Unable to determine kernel version"); |