From: Anders Kaseorg Date: Sat, 5 Nov 2016 00:39:34 +0000 (-0400) Subject: src/ubik/uinit.c: Fix misleading indentation X-Git-Tag: openafs-stable-1_8_0pre1~27 X-Git-Url: https://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=38040db3bb7b5ae4d5b2c710da17ba60abe39935 src/ubik/uinit.c: Fix misleading indentation Fixes this warning (error with --enable-checking) from GCC 6.2: uinit.c: In function ‘internal_client_init’: uinit.c:96:2: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation] if (code) ^~ uinit.c:98:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ return code; ^~~~~~ Change-Id: Ib03c4128e206194fa5c34fa3c49bb06beb70e6d0 Reviewed-on: https://gerrit.openafs.org/12437 Reviewed-by: Benjamin Kaduk Tested-by: BuildBot --- diff --git a/src/ubik/uinit.c b/src/ubik/uinit.c index 25238fb..3a1997d 100644 --- a/src/ubik/uinit.c +++ b/src/ubik/uinit.c @@ -93,9 +93,10 @@ internal_client_init(struct afsconf_dir *dir, struct afsconf_cell *info, if (uclientp) { *uclientp = 0; code = ubik_ClientInit(serverconns, uclientp); - if (code) + if (code) { fprintf(stderr, "%s: ubik client init failed.\n", progname); return code; + } } return 0;