diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2007-08-20 12:53:40 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2007-08-20 12:53:40 +0000 |
| commit | 0dfc6faa7ba576471bd0e1e231fc328038729bb2 (patch) | |
| tree | 5f73365cbe84877178627609697fcfb11ecdb44d /src/perspective3d.cpp | |
| parent | Avoid 'flashing' between front and rear face during initial dragging process ... (diff) | |
| download | inkscape-0dfc6faa7ba576471bd0e1e231fc328038729bb2.tar.gz inkscape-0dfc6faa7ba576471bd0e1e231fc328038729bb2.zip | |
Eliminate a number of compile warnings
(bzr r3553)
Diffstat (limited to 'src/perspective3d.cpp')
| -rw-r--r-- | src/perspective3d.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |
