From 0dfc6faa7ba576471bd0e1e231fc328038729bb2 Mon Sep 17 00:00:00 2001 From: Maximilian Albert Date: Mon, 20 Aug 2007 12:53:40 +0000 Subject: Eliminate a number of compile warnings (bzr r3553) --- src/perspective3d.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/perspective3d.cpp') diff --git a/src/perspective3d.cpp b/src/perspective3d.cpp index c9c56e78d..e2b9fcbc2 100644 --- a/src/perspective3d.cpp +++ b/src/perspective3d.cpp @@ -174,7 +174,7 @@ Perspective3D::set_vanishing_point (Box3D::Axis const dir, VanishingPoint const case Z: (*vp_z) = pt; break; - case NONE: + default: // no vanishing point to set break; } @@ -205,7 +205,7 @@ Perspective3D::set_vanishing_point (Box3D::Axis const dir, gdouble pt_x, gdouble case Z: vp = vp_z; break; - case NONE: + default: // no vanishing point to set return; } -- cgit v1.2.3