From 7061c420080e4418fe3141d3c9095b03eccdbe6a Mon Sep 17 00:00:00 2001 From: cutealien Date: Thu, 12 Dec 2019 17:04:46 +0000 Subject: [PATCH] Avoid warning on gcc git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6002 dfc29bdd-3216-0410-991c-e03cc46cb475 --- source/Irrlicht/CImageLoaderDDS.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/Irrlicht/CImageLoaderDDS.cpp b/source/Irrlicht/CImageLoaderDDS.cpp index 38119ce..0a4ab3d 100644 --- a/source/Irrlicht/CImageLoaderDDS.cpp +++ b/source/Irrlicht/CImageLoaderDDS.cpp @@ -826,6 +826,8 @@ IImage* CImageLoaderDDS::loadImage(io::IReadFile* file) const format = ECF_DXT5; break; } + default: // either not compressed or unknown + break; } if( format != ECF_UNKNOWN )