diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2013-10-09 16:55:33 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2013-10-09 16:55:33 (GMT) |
commit | 9d954e1136e8b511d0f44eac25c9eafd3b155549 (patch) | |
tree | c44e2a0e45714f09f7c1c274cdbcb2a897e98afe /tools/h5repack | |
parent | 53827d4017a258a6e4bfd911d4fef3fbc21bd484 (diff) | |
download | hdf5-9d954e1136e8b511d0f44eac25c9eafd3b155549.zip hdf5-9d954e1136e8b511d0f44eac25c9eafd3b155549.tar.gz hdf5-9d954e1136e8b511d0f44eac25c9eafd3b155549.tar.bz2 |
[svn-r24270] checkin coverity changes from 10/4/2013.
tested with h5committest
Diffstat (limited to 'tools/h5repack')
-rw-r--r-- | tools/h5repack/h5repack_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/h5repack/h5repack_main.c b/tools/h5repack/h5repack_main.c index 7d92e4b..bc7b4e5 100644 --- a/tools/h5repack/h5repack_main.c +++ b/tools/h5repack/h5repack_main.c @@ -21,6 +21,8 @@ #define PROGRAMNAME "h5repack" static int parse_command_line(int argc, const char **argv, pack_opt_t* options); +static void leave(int ret) NORETURN; + /* module-scoped variables */ static int has_i_o = 0; @@ -563,7 +565,6 @@ done: int main(int argc, const char **argv) { pack_opt_t options; /*the global options */ - int ret = -1; h5tools_setprogname(PROGRAMNAME); h5tools_setstatus(EXIT_SUCCESS); |