libbb: fix gzip_thread() warnings
authorJo-Philipp Wich <jo@mein.io>
Tue, 14 Mar 2017 23:47:23 +0000 (00:47 +0100)
committerJo-Philipp Wich <jo@mein.io>
Wed, 15 Mar 2017 00:42:49 +0000 (01:42 +0100)
commit6e28563d0023ce0261e2756e5eb120790c5fe6e9
treea52f34741c9da4cae94f68311e41d1f42ce46d01
parent1ff24753478ceea81ec6c8e90bb1a59d57cc0501
libbb: fix gzip_thread() warnings

 - mark function static
 - add missing return statement
 - avoid uninitialized use of "len"

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
libbb/gzip.c