summaryrefslogtreecommitdiff
path: root/src/Panorama.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/Panorama.cxx
parent1c1ab90618ece5e20964edbce01a017b26a21548 (diff)
-Wall fixes
Diffstat (limited to 'src/Panorama.cxx')
-rw-r--r--src/Panorama.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Panorama.cxx b/src/Panorama.cxx
index 0b99282..32e14f4 100644
--- a/src/Panorama.cxx
+++ b/src/Panorama.cxx
@@ -431,8 +431,7 @@ Panorama::alpha(const Hill *m) {
double
Panorama::nick(const Hill *m) {
- double a, b, c;
- double beta;
+ double b, c;
b = m->height + get_earth_radius(m->phi);
c = view_height + get_earth_radius(view_phi);