From d2e8bf6ef7cf0e037475a485cdf0321756dcb928 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petr=20=C5=A0tetiar?= Date: Sun, 5 Jan 2020 11:48:35 +0100 Subject: [PATCH] system: watchdog_set: fix misleading indentation MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes error reported by clang version 10.0.0-+20200102091410: system.c:367:4: error: misleading indentation; statement is not part of the previous 'if' [-Werror,-Wmisleading-indentation] watchdog_timeout(timeout); ^ system.c:365:3: note: previous statement is here if (timeout <= frequency) Signed-off-by: Petr Å tetiar --- system.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system.c b/system.c index 0736ec9..0fb98f1 100644 --- a/system.c +++ b/system.c @@ -364,7 +364,7 @@ static int watchdog_set(struct ubus_context *ctx, struct ubus_object *obj, if (timeout <= frequency) timeout = frequency * 2; - watchdog_timeout(timeout); + watchdog_timeout(timeout); } if (tb[WDT_MAGICCLOSE]) -- 2.30.2