summaryrefslogtreecommitdiff
path: root/src/Panorama.cxx
diff options
context:
space:
mode:
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);