diff options
author | Richard A. Kirian <rkirian@asu.edu> | 2011-12-02 09:49:47 -0800 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:42 +0100 |
commit | 05be0289256ba4bd1cce6039b7aae22caa4fc240 (patch) | |
tree | 6bcf4a7d03459625cf899099554af1a2298d8183 /src/powder_plot.c | |
parent | b509b608b5d22a06d618f011eaae0c4ab6c8e610 (diff) |
Properly fix seg fault in powder_plot.c
(Correction to commit 7543dfc55966d)
Diffstat (limited to 'src/powder_plot.c')
-rw-r--r-- | src/powder_plot.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/powder_plot.c b/src/powder_plot.c index bb3ace9e..e9aaa49d 100644 --- a/src/powder_plot.c +++ b/src/powder_plot.c @@ -884,14 +884,6 @@ int main(int argc, char *argv[]) } - - /* need to check that the file even exists before moving on */ - FILE * junk = fopen(filename,"r"); - if ( junk == NULL ) { - ERROR("The file %s does not exist!\n",filename); - exit(1); - } - if ( is_stream(filename) == 1 ) { file_type = FILE_STREAM; |