Unverified Commit 93dd6130 by Tobin C. Harding Committed by Christian Brauner

cmd: Do not use braces for single statement block

checkpatch emites warning: WARNING: braces {} are not necessary for single statement blocks Do not use braces for single statement block. Signed-off-by: 's avatarTobin C. Harding <me@tobin.cc>
parent 5d2a8f2e
...@@ -550,9 +550,8 @@ static int arguments_parse(struct arguments *args, int argc, ...@@ -550,9 +550,8 @@ static int arguments_parse(struct arguments *args, int argc,
args->argc = argc - optind; args->argc = argc - optind;
/* If no lxcpath was given, use default */ /* If no lxcpath was given, use default */
if (!args->lxcpath) { if (!args->lxcpath)
args->lxcpath = lxc_global_config_value("lxc.lxcpath"); args->lxcpath = lxc_global_config_value("lxc.lxcpath");
}
/* Check the command options */ /* Check the command options */
if (!args->name) { if (!args->name) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment