Commit 4dce4972 authored by Sebastian Pölsterl's avatar Sebastian Pölsterl Committed by Christian Schulte zu Berge
Browse files

Added default statement to switch cases

Fixes -Wswitch
parent f74044ef
...@@ -243,6 +243,8 @@ namespace campvis { ...@@ -243,6 +243,8 @@ namespace campvis {
--_currentSlice; --_currentSlice;
e->ignore(); e->ignore();
break; break;
default:
break;
} }
invalidate(); invalidate();
} }
......
...@@ -58,6 +58,8 @@ namespace campvis { ...@@ -58,6 +58,8 @@ namespace campvis {
_prop->decrement(); _prop->decrement();
e->ignore(); e->ignore();
break; break;
default:
break;
} }
} }
......
...@@ -88,6 +88,8 @@ namespace campvis { ...@@ -88,6 +88,8 @@ namespace campvis {
case tgt::KeyEvent::K_DOWN: case tgt::KeyEvent::K_DOWN:
_sliceExtractor.p_xSliceNumber.decrement(); _sliceExtractor.p_xSliceNumber.decrement();
break; break;
default:
break;
} }
} }
} }
...@@ -101,4 +103,4 @@ namespace campvis { ...@@ -101,4 +103,4 @@ namespace campvis {
} }
} }
} }
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment