summaryrefslogtreecommitdiff
path: root/slstatus.c
diff options
context:
space:
mode:
authorAaron Marcher <me@drkhsh.at>2018-05-07 15:57:32 +0200
committerAaron Marcher <me@drkhsh.at>2018-05-07 15:57:32 +0200
commit666f28520126fa54fca128b172c065b8a29a7f76 (patch)
tree6169a16e38aed0232fdcf521bde8e29b7b3b340b /slstatus.c
parent6123f482e39d9488df03898a0aadca3bdaf8673f (diff)
Only variable declarations at top of block
Diffstat (limited to 'slstatus.c')
-rw-r--r--slstatus.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/slstatus.c b/slstatus.c
index b05d915..c1cf8ac 100644
--- a/slstatus.c
+++ b/slstatus.c
@@ -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;