[hackers] [slstatus] Only variable declarations at top of block || Aaron Marcher
commit 666f28520126fa54fca128b172c065b8a29a7f76
Author: Aaron Marcher <me_AT_drkhsh.at>
AuthorDate: Mon May 7 15:57:32 2018 +0200
Commit: Aaron Marcher <me_AT_drkhsh.at>
CommitDate: Mon May 7 15:57:32 2018 +0200
Only variable declarations at top of block
diff --git a/slstatus.c b/slstatus.c
index b05d915..c1cf8ac 100644
--- a/slstatus.c
+++ b/slstatus.c
_AT_@ -53,9 +53,10 @@ main(int argc, char *argv[])
struct sigaction act;
struct timespec start, current, diff, intspec, wait;
size_t i, len;
- int sflag = 0;
+ int sflag;
char status[MAXLEN];
+ sflag = 0;
ARGBEGIN {
case 's':
sflag = 1;
Received on Mon May 07 2018 - 15:57:45 CEST
This archive was generated by hypermail 2.3.0
: Mon May 07 2018 - 16:00:27 CEST