]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
systemctl: drop unnecessary {}
authorLennart Poettering <lennart@poettering.net>
Wed, 6 Mar 2019 18:23:38 +0000 (19:23 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 13 Mar 2019 16:38:43 +0000 (17:38 +0100)
src/systemctl/systemctl.c

index a88dd839298f31bb6dfaf7bec06d92f886a88c93..e48d34c4d7d776222ef8d9aa2c6174df9959a505 100644 (file)
@@ -8046,9 +8046,9 @@ static int systemctl_parse_argv(int argc, char *argv[]) {
                         break;
                 }
 
-                case 'p': {
-                        /* Make sure that if the empty property list
-                           was specified, we won't show any properties. */
+                case 'p':
+                        /* Make sure that if the empty property list was specified, we won't show any
+                           properties. */
                         if (isempty(optarg) && !arg_properties) {
                                 arg_properties = new0(char*, 1);
                                 if (!arg_properties)
@@ -8078,7 +8078,6 @@ static int systemctl_parse_argv(int argc, char *argv[]) {
                         arg_all = true;
 
                         break;
-                }
 
                 case 'a':
                         arg_all = true;