mirror of
https://github.com/swaywm/sway.git
synced 2024-11-17 21:49:16 +00:00
Merge pull request #2107 from tobiasblass/remove_suspicious_return
Remove suspicious unconditional return
This commit is contained in:
commit
cac400a40b
|
@ -160,7 +160,6 @@ static void log_distro() {
|
||||||
}
|
}
|
||||||
|
|
||||||
static void log_kernel() {
|
static void log_kernel() {
|
||||||
return;
|
|
||||||
FILE *f = popen("uname -a", "r");
|
FILE *f = popen("uname -a", "r");
|
||||||
if (!f) {
|
if (!f) {
|
||||||
wlr_log(L_INFO, "Unable to determine kernel version");
|
wlr_log(L_INFO, "Unable to determine kernel version");
|
||||||
|
|
Loading…
Reference in a new issue