aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/detector.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2012-08-08 11:59:46 +0200
committerThomas White <taw@bitwiz.org.uk>2012-08-08 11:59:46 +0200
commite295e00053fff65f53e45ebb6b149d65225d04a8 (patch)
tree47e6bd3264bff5d592e281b7019c5b284a3a64bf /libcrystfel/src/detector.c
parent7903f6c31f7a13c26d97bdf1f7791c5b5804ea84 (diff)
Fix buglets spotted by new compiler on Fedora 17
Diffstat (limited to 'libcrystfel/src/detector.c')
-rw-r--r--libcrystfel/src/detector.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libcrystfel/src/detector.c b/libcrystfel/src/detector.c
index f212821d..5f138eac 100644
--- a/libcrystfel/src/detector.c
+++ b/libcrystfel/src/detector.c
@@ -750,7 +750,6 @@ struct detector *get_detector_geometry(const char *filename)
char line[1024];
struct badregion *badregion = NULL;
struct panel *panel = NULL;
- char *key;
char wholeval[1024];
rval = fgets(line, 1023, fh);
@@ -802,8 +801,6 @@ struct detector *get_detector_geometry(const char *filename)
}
}
- key = path[1];
-
if ( panel != NULL ) {
if ( parse_field_for_panel(panel, path[1],
wholeval, det) )