From 92bd9bda66884dbbb1f572f0cdf0063cea0b7d76 Mon Sep 17 00:00:00 2001 From: Joe Crayne Date: Sat, 12 Oct 2019 22:44:43 -0400 Subject: Applied debian patch to fix indentation warnings. 0015-fix-34-cases-of-Wmisleading-indentation-warnings.patch From: Jan Date: Sat, 2 Mar 2019 21:47:29 +0100 Subject: fix: 34 cases of -Wmisleading-indentation warnings - fixed misleading indentation as reported by gcc 8.2.0 --- chpst.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'chpst.c') diff --git a/chpst.c b/chpst.c index 2b9eb01..8de213f 100644 --- a/chpst.c +++ b/chpst.c @@ -309,12 +309,14 @@ int main(int argc, char **argv) { case 'n': switch (*optarg) { case '-': - if (optarg[scan_ulong(++optarg, &ul)]) usage(); nicelvl =ul; + if (optarg[scan_ulong(++optarg, &ul)]) usage(); + nicelvl =ul; nicelvl *=-1; break; case '+': ++optarg; default: - if (optarg[scan_ulong(optarg, &ul)]) usage(); nicelvl =ul; + if (optarg[scan_ulong(optarg, &ul)]) usage(); + nicelvl =ul; break; } break; -- cgit v1.2.3