summaryrefslogtreecommitdiffstats
path: root/zutils.cc
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-08 04:40:27 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-08 04:40:27 +0000
commit6c7f7b2ed08fa742632ec389c9c7852e629c7bf2 (patch)
tree4066f3bf05144af754b8e725096e98bfc3339ac3 /zutils.cc
parentAdding upstream version 1.3. (diff)
downloadzutils-6c7f7b2ed08fa742632ec389c9c7852e629c7bf2.tar.xz
zutils-6c7f7b2ed08fa742632ec389c9c7852e629c7bf2.zip
Adding upstream version 1.4~pre2.upstream/1.4_pre2
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'zutils.cc')
-rw-r--r--zutils.cc12
1 files changed, 1 insertions, 11 deletions
diff --git a/zutils.cc b/zutils.cc
index d2a4b79..02f13ac 100644
--- a/zutils.cc
+++ b/zutils.cc
@@ -1,5 +1,5 @@
/* Zutils - Utilities dealing with compressed files
- Copyright (C) 2009-2014 Antonio Diaz Diaz.
+ Copyright (C) 2009-2015 Antonio Diaz Diaz.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -75,16 +75,6 @@ int child_status( const pid_t pid, const char * const name )
} // end namespace
-int parse_format_type( const std::string & arg )
- {
- for( int i = 0; i < num_formats; ++i )
- if( arg == format_names[i] )
- return i;
- show_error( "Bad argument for '--format' option." );
- std::exit( 1 );
- }
-
-
// Returns the number of bytes really read.
// If (returned value < size) and (errno == 0), means EOF was reached.
//