diff options
| author | Petr Štetiar | 2020-01-05 10:48:35 +0000 |
|---|---|---|
| committer | Petr Štetiar | 2020-01-05 10:49:29 +0000 |
| commit | d2e8bf6ef7cf0e037475a485cdf0321756dcb928 (patch) | |
| tree | e0314297f0f400a10ece00eed34c76b351fba7a8 | |
| parent | 9814807bd71cba074a23707c32d163b560b551cf (diff) | |
| download | procd-d2e8bf6ef7cf0e037475a485cdf0321756dcb928.tar.gz | |
system: watchdog_set: fix misleading indentation
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 <ynezz@true.cz>
| -rw-r--r-- | system.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]) |