diff options
author | Thomas White <taw@bitwiz.org.uk> | 2012-08-08 11:59:46 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2012-08-08 11:59:46 +0200 |
commit | e295e00053fff65f53e45ebb6b149d65225d04a8 (patch) | |
tree | 47e6bd3264bff5d592e281b7019c5b284a3a64bf /src/powder_plot.c | |
parent | 7903f6c31f7a13c26d97bdf1f7791c5b5804ea84 (diff) |
Fix buglets spotted by new compiler on Fedora 17
Diffstat (limited to 'src/powder_plot.c')
-rw-r--r-- | src/powder_plot.c | 4 |
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); |