]> ruderich.org/simon Gitweb - blhc/blhc.git/commitdiff
Minor cleanup.
authorSimon Ruderich <simon@ruderich.org>
Tue, 20 Mar 2012 19:28:29 +0000 (20:28 +0100)
committerSimon Ruderich <simon@ruderich.org>
Tue, 20 Mar 2012 19:28:29 +0000 (20:28 +0100)
bin/blhc

index e707d875483ec6ced90a6c99e36fc610ad7cd80f..f9455868e6996e59c45f50825110ec1f11119cbd 100755 (executable)
--- a/bin/blhc
+++ b/bin/blhc
@@ -134,9 +134,7 @@ sub all_flags_used {
         }
     }
 
-    if (scalar @missing_flags == 0) {
-        return 1;
-    }
+    return 1 if scalar @missing_flags == 0;
 
     @{$missing_flags_ref} = @missing_flags;
     return 0;