diff --git a/samples/extensions/khr/conway/main.cpp b/samples/extensions/khr/conway/main.cpp index 4034df6d..540e14f7 100644 --- a/samples/extensions/khr/conway/main.cpp +++ b/samples/extensions/khr/conway/main.cpp @@ -363,6 +363,7 @@ void Conway::event(const sf::Event& event) animating = !animating; } break; + default: break; } } diff --git a/samples/extensions/khr/nbody/main.cpp b/samples/extensions/khr/nbody/main.cpp index 7805ae09..e10601e6 100644 --- a/samples/extensions/khr/nbody/main.cpp +++ b/samples/extensions/khr/nbody/main.cpp @@ -421,6 +421,7 @@ void NBody::event(const sf::Event& event) dist = abs(dist); needMatrixReset = true; // view matrix need to be recalculated break; + default: break; } }