Merge pull request #2107 from tobiasblass/remove_suspicious_return

Remove suspicious unconditional return
This commit is contained in:
emersion 2018-06-05 23:59:52 +01:00 committed by GitHub
commit cac400a40b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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");