summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2007-08-03 21:25:18 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2007-08-03 21:25:18 +0200
commit7624a57f8bc6338eb81c3d8c7874a6ef0b9fa642 (patch)
tree36f98ec63fe4eb2e2d6ca4b65abc2bd2c04017a4 /src
parentbe42efba06710f583b9ffef94c4e46c82181e731 (diff)
0.2.2_pre2
Diffstat (limited to 'src')
-rw-r--r--src/GipfelWidget.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/GipfelWidget.cxx b/src/GipfelWidget.cxx
index 3922cce..fdd2b4f 100644
--- a/src/GipfelWidget.cxx
+++ b/src/GipfelWidget.cxx
@@ -129,7 +129,6 @@ GipfelWidget::get_image_filename() {
int
GipfelWidget::save_image(char *file) {
- ImageMetaData *md;
int ret;
if (img_file == NULL) {
@@ -150,7 +149,6 @@ GipfelWidget::save_image(char *file) {
md->set_distortion_params(pan->parms.k0, pan->parms.k1, pan->parms.x0);
ret = md->save_image(img_file, file);
- delete md;
return ret;
}