Commit 66cfe533 authored by Thomas White's avatar Thomas White
Browse files

'Filename' doesn't need to be const

parent a470ed5d
......@@ -78,7 +78,7 @@ struct image {
UnitCell *candidate_cells[MAX_CELL_CANDIDATES];
int ncells;
struct detector *det;
const char *filename;
char *filename;
struct reflhit *hits;
int n_hits;
......
......@@ -280,7 +280,7 @@ static void process_image(struct process_args *pargs)
struct image *simage;
float *data_for_measurement;
size_t data_size;
const char *filename = pargs->filename;
char *filename = pargs->filename;
UnitCell *cell = pargs->cell;
int config_cmfilter = pargs->config_cmfilter;
int config_noisefilter = pargs->config_noisefilter;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment