diff options
-rw-r--r-- | src/dw-hdfsee.c | 1 | ||||
-rw-r--r-- | src/hdfsee.c | 6 |
2 files changed, 1 insertions, 6 deletions
diff --git a/src/dw-hdfsee.c b/src/dw-hdfsee.c index 19aa6f35..ee3b55f0 100644 --- a/src/dw-hdfsee.c +++ b/src/dw-hdfsee.c @@ -1819,7 +1819,6 @@ DisplayWindow *displaywindow_open(const char *filename, const char *peaks, dw->hdfile = hdfile_open(filename); if ( dw->hdfile == NULL ) { - ERROR("Couldn't open file '%s'\n", filename); free(dw); return NULL; } else { diff --git a/src/hdfsee.c b/src/hdfsee.c index be1f4876..894b8af9 100644 --- a/src/hdfsee.c +++ b/src/hdfsee.c @@ -266,11 +266,7 @@ int main(int argc, char *argv[]) ring_radii, n_rings, ring_size); - if ( main_window_list[i] == NULL ) { - ERROR("Couldn't open display window\n"); - } else { - main_n_windows++; - } + if ( main_window_list[i] != NULL ) main_n_windows++; } if ( main_n_windows == 0 ) return 0; |