summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 05:03:29 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 05:03:29 +0000
commite82f995206b96db9cee9c83e21d1cac07e411154 (patch)
treeb02fe3a48ed6a4a28830cfa3df3730be3f0f833a /main.c
parentAdding upstream version 1.4~rc1. (diff)
downloadlunzip-e82f995206b96db9cee9c83e21d1cac07e411154.tar.xz
lunzip-e82f995206b96db9cee9c83e21d1cac07e411154.zip
Adding upstream version 1.4.upstream/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 )