From a1408ca8460ef486730b4e5ce11cfca2504edf3b Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 21 Oct 2010 18:33:13 -0700 Subject: Remove redundant elements from "struct image" --- src/image.c | 2 -- src/image.h | 6 ------ 2 files changed, 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; -- cgit v1.2.3