From 52f8c8aa18ca79fb6af5acf458dd22448d0944fc Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 8 Sep 2010 10:57:57 +0200 Subject: Initialise no_index in the panel --- src/detector.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/detector.c') 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 */ } -- cgit v1.2.3