summaryrefslogtreecommitdiff
path: root/src/GipfelWidget.cxx
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-01-30 20:31:12 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-01-30 20:31:12 +0100
commit8633dd74aa6907dd6bf864170bb601f9af6d5eae (patch)
tree20588c9313ae94d0d6dfa96c8a7186476784bbc7 /src/GipfelWidget.cxx
parent1c1ab90618ece5e20964edbce01a017b26a21548 (diff)
-Wall fixes
Diffstat (limited to 'src/GipfelWidget.cxx')
-rw-r--r--src/GipfelWidget.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/GipfelWidget.cxx b/src/GipfelWidget.cxx
index 7586a7f..63e89d2 100644
--- a/src/GipfelWidget.cxx
+++ b/src/GipfelWidget.cxx
@@ -719,7 +719,6 @@ GipfelWidget::export_hills(const char *file, FILE *fp) {
mnts = pan->get_visible_mountains();
for (int i=0; i<mnts->get_num(); i++) {
Hill *m = mnts->get(i);
- char *flags;
int _x = (int) rint(m->x) + w() / 2;
int _y = (int) rint(m->y) + h() / 2;
@@ -746,7 +745,6 @@ int
GipfelWidget::get_pixel(GipfelWidget::sample_mode_t m,
double a_alph, double a_nick, int *r, int *g, int *b) {
double px, py;
- int r_tmp, g_tmp, b_tmp;
int ret;
if (img == NULL) {