From 05be0289256ba4bd1cce6039b7aae22caa4fc240 Mon Sep 17 00:00:00 2001 From: "Richard A. Kirian" Date: Fri, 2 Dec 2011 09:49:47 -0800 Subject: Properly fix seg fault in powder_plot.c (Correction to commit 7543dfc55966d) --- src/powder_plot.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src') 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; -- cgit v1.2.3