Просмотр исходного кода

Removed redundant case.

The if just before already excluded that possibility.
cib 13 лет назад
Родитель
Сommit
4f253bb2d6
1 измененных файлов с 0 добавлено и 3 удалено
  1. 0 3
      Core/Contents/Source/PolySound.cpp

+ 0 - 3
Core/Contents/Source/PolySound.cpp

@@ -289,9 +289,6 @@ ALenum Sound::checkALError(const String& operation) {
 	ALenum error = alGetError();
 	if(error != AL_NO_ERROR) {
 		switch(error) {
-			case AL_NO_ERROR:
-				soundError(operation + ": " +ALNoErrorStr);
-				break;
 			case AL_INVALID_NAME:
 				soundError(operation +": " + ALInvalidNameStr);
 				break;