Code

Eliminate a number of compile warnings
[inkscape.git] / src / perspective3d.cpp
index c9c56e78dbdeed03f9a75a194da6f48735dc2520..e2b9fcbc212a1942967ac190051aab280031c3f9 100644 (file)
@@ -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;
     }