aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2010-10-21 18:33:13 -0700
committerThomas White <taw@physics.org>2012-02-22 15:27:03 +0100
commita1408ca8460ef486730b4e5ce11cfca2504edf3b (patch)
tree9bbb6dff4e25e5218c50edc889fbe525acce01a9
parenta11ebc01ac2c3dbddb1974a171f5755cf3016922 (diff)
Remove redundant elements from "struct image"
-rw-r--r--src/image.c2
-rw-r--r--src/image.h6
2 files changed, 0 insertions, 8 deletions
diff --git a/src/image.c b/src/image.c
index d4d66712..81c56414 100644
--- a/src/image.c
+++ b/src/image.c
@@ -84,8 +84,6 @@ void image_add_feature(ImageFeatureList *flist, double x, double y,
flist->features[flist->n_features].y = y;
flist->features[flist->n_features].intensity = intensity;
flist->features[flist->n_features].parent = parent;
- flist->features[flist->n_features].partner = NULL;
- flist->features[flist->n_features].partner_d = 0.0;
flist->features[flist->n_features].name = name;
flist->features[flist->n_features].valid = 1;
diff --git a/src/image.h b/src/image.h
index 4f5052bb..c39c19a0 100644
--- a/src/image.h
+++ b/src/image.h
@@ -37,12 +37,6 @@ struct imagefeature {
double y;
double intensity;
- /* Partner for this feature (in another feature list) or NULL */
- struct imagefeature_struct *partner;
-
- /* Distance between this feature and its partner, if any. */
- double partner_d;
-
/* Reciprocal space coordinates (m^-1 of course) of this feature */
double rx;
double ry;