From fd0258a39fc9f798ce9cc23b2872f9902c401627 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 14 Feb 2016 10:55:06 +0100 Subject: Fix issue #10 on github MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/slibc-human/humansize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/slibc-human/humansize.c b/src/slibc-human/humansize.c index d834849..28c8685 100644 --- a/src/slibc-human/humansize.c +++ b/src/slibc-human/humansize.c @@ -71,7 +71,7 @@ static char* humansize_exact(char* buffer, size_t bufsize, enum humansize_mode m { size_t i, n = 0; void* new = NULL; - int m, saved_errno; + int m = 0, saved_errno; if (detail == 0) detail = 999; -- cgit v1.2.3-70-g09d2