diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-08 04:40:35 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-08 04:40:35 +0000 |
commit | f7deb94049481143ef12eab590840d39aecedc14 (patch) | |
tree | 9ff4090b78d8343fd073ba1ea32068bb0d07caa6 /zutils.cc | |
parent | Adding debian version 1.3-4. (diff) | |
download | zutils-f7deb94049481143ef12eab590840d39aecedc14.tar.xz zutils-f7deb94049481143ef12eab590840d39aecedc14.zip |
Merging upstream version 1.4~pre2.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to '')
-rw-r--r-- | zutils.cc | 12 |
1 files changed, 1 insertions, 11 deletions
@@ -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. // |