From 666f28520126fa54fca128b172c065b8a29a7f76 Mon Sep 17 00:00:00 2001 From: Aaron Marcher Date: Mon, 7 May 2018 15:57:32 +0200 Subject: Only variable declarations at top of block --- slstatus.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'slstatus.c') 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; -- cgit v1.2.3