aboutsummaryrefslogtreecommitdiff
path: root/src/powder_plot.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/powder_plot.c')
-rw-r--r--src/powder_plot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/powder_plot.c b/src/powder_plot.c
index 049b9c0e..84f292a3 100644
--- a/src/powder_plot.c
+++ b/src/powder_plot.c
@@ -725,7 +725,7 @@ int main(int argc, char *argv[])
unsigned int n_patterns = 0;
unsigned int n_peaks = 0;
- int c, rval, file_type, data_type;
+ int c, file_type, data_type;
int config_satcorr = 1;
int need_geometry = 0;
int need_beam = 0;
@@ -953,7 +953,7 @@ int main(int argc, char *argv[])
return 1;
}
/* Use wavelength from first chunk */
- rval = read_chunk(fh, &image);
+ read_chunk(fh, &image);
rewind(fh);
} else if (file_type == FILE_H5) {
hdfile = hdfile_open(filename);