diff options
author | Joe Crayne <joe@jerkface.net> | 2019-10-12 22:44:43 -0400 |
---|---|---|
committer | Joe Crayne <joe@jerkface.net> | 2019-10-12 22:44:43 -0400 |
commit | 92bd9bda66884dbbb1f572f0cdf0063cea0b7d76 (patch) | |
tree | 8defc7f53599b8c906eae59332fef446e01524c7 /chpst.c | |
parent | cdf1abf190f1097c4f6ae2ff0a9fa023df6982f1 (diff) |
Applied debian patch to fix indentation warnings.
0015-fix-34-cases-of-Wmisleading-indentation-warnings.patch
From: Jan <cloux@rote.ch>
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
Diffstat (limited to 'chpst.c')
-rw-r--r-- | chpst.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -309,12 +309,14 @@ int main(int argc, char **argv) { | |||
309 | case 'n': | 309 | case 'n': |
310 | switch (*optarg) { | 310 | switch (*optarg) { |
311 | case '-': | 311 | case '-': |
312 | if (optarg[scan_ulong(++optarg, &ul)]) usage(); nicelvl =ul; | 312 | if (optarg[scan_ulong(++optarg, &ul)]) usage(); |
313 | nicelvl =ul; | ||
313 | nicelvl *=-1; | 314 | nicelvl *=-1; |
314 | break; | 315 | break; |
315 | case '+': ++optarg; | 316 | case '+': ++optarg; |
316 | default: | 317 | default: |
317 | if (optarg[scan_ulong(optarg, &ul)]) usage(); nicelvl =ul; | 318 | if (optarg[scan_ulong(optarg, &ul)]) usage(); |
319 | nicelvl =ul; | ||
318 | break; | 320 | break; |
319 | } | 321 | } |
320 | break; | 322 | break; |