aboutsummaryrefslogtreecommitdiff
path: root/src/detector.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/detector.c')
-rw-r--r--src/detector.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/detector.c b/src/detector.c
index ce2d5738..70666f8e 100644
--- a/src/detector.c
+++ b/src/detector.c
@@ -246,6 +246,7 @@ struct detector *get_detector_geometry(const char *filename)
det->panels[i].clen = -1;
det->panels[i].res = -1;
det->panels[i].badrow = '0';
+ det->panels[i].no_index = 0;
}
continue;
@@ -378,6 +379,7 @@ struct detector *get_detector_geometry(const char *filename)
" panel %i\n", i);
reject = 1;
}
+ /* It's not a problem if "no_index" is still zero */
}