aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/list_events.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/list_events.c b/src/list_events.c
index fedb228b..1ef82701 100644
--- a/src/list_events.c
+++ b/src/list_events.c
@@ -71,7 +71,6 @@ int main(int argc, char *argv[])
FILE *ifh;
FILE *ofh;
struct detector *det;
- struct beam_params beam;
/* Long options */
const struct option longopts[] = {
@@ -142,7 +141,7 @@ int main(int argc, char *argv[])
return 1;
}
- det = get_detector_geometry(geom, &beam);
+ det = get_detector_geometry(geom, NULL);
if ( det == NULL ) {
ERROR("Failed to read '%s'\n", geom);
return 1;