summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 05:03:37 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 05:03:37 +0000
commit46f8520e36af40c06d47f978838ee86858caa474 (patch)
tree8155de8b1cf965ec2f20d9e9ba6d14551d135a25 /main.c
parentAdding debian version 1.4~rc1-1. (diff)
downloadlunzip-46f8520e36af40c06d47f978838ee86858caa474.tar.xz
lunzip-46f8520e36af40c06d47f978838ee86858caa474.zip
Merging upstream version 1.4.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/main.c b/main.c
index 6dcfcaf..1bf2fab 100644
--- a/main.c
+++ b/main.c
@@ -154,8 +154,7 @@ static int extension_index( const char * const name )
static int open_instream( const char * const name, struct stat * const in_statsp,
const bool testing, const bool to_stdout )
{
- int infd = -1;
- infd = open( name, O_RDONLY | o_binary );
+ int infd = open( name, O_RDONLY | o_binary );
if( infd < 0 )
{
if( verbosity >= 0 )