From 38040db3bb7b5ae4d5b2c710da17ba60abe39935 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Fri, 4 Nov 2016 20:39:34 -0400 Subject: [PATCH] src/ubik/uinit.c: Fix misleading indentation MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- src/ubik/uinit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ubik/uinit.c b/src/ubik/uinit.c index 25238fb19..3a1997d9e 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; -- 2.39.5