diff options
author | Jonathan Kim <jkm@hdfgroup.org> | 2013-07-03 22:33:25 (GMT) |
---|---|---|
committer | Jonathan Kim <jkm@hdfgroup.org> | 2013-07-03 22:33:25 (GMT) |
commit | dad8a4ddefcd970854c2e27c6c10364bb3f7a625 (patch) | |
tree | f96815bc3dfaf641473ff56f12685c9d4f458960 /perform/overhead.c | |
parent | a4dc3ff34d2dec4db339851df381b67970853f2a (diff) | |
download | hdf5-dad8a4ddefcd970854c2e27c6c10364bb3f7a625.zip hdf5-dad8a4ddefcd970854c2e27c6c10364bb3f7a625.tar.gz hdf5-dad8a4ddefcd970854c2e27c6c10364bb3f7a625.tar.bz2 |
[svn-r23863] Remove compile warnings due to missing switch defaults
Diffstat (limited to 'perform/overhead.c')
-rw-r--r-- | perform/overhead.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/perform/overhead.c b/perform/overhead.c index 0b40721..9341e64 100644 --- a/perform/overhead.c +++ b/perform/overhead.c @@ -250,6 +250,11 @@ test(fill_t fill_style, const double splits[], break; case FILL_ALL: abort(); + default: + /* unknown request */ + HDfprintf(stderr, "Unknown fill style\n"); + goto error; + break; } /* Write the chunk */ @@ -305,6 +310,11 @@ test(fill_t fill_style, const double splits[], break; case FILL_ALL: abort(); + default: + /* unknown request */ + HDfprintf(stderr, "Unknown fill style\n"); + goto error; + break; } if (HDfstat(fd, &sb) < 0) goto error; |