Browse Source

Fixed unreachable code warning

Sam Lantinga 3 năm trước cách đây
mục cha
commit
6ca7212b75
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      src/video/SDL_video.c

+ 0 - 1
src/video/SDL_video.c

@@ -3918,7 +3918,6 @@ SDL_GL_GetAttribute(SDL_GLattr attr, int *value)
             *value = _this->gl_config.egl_platform;
             return 0;
         }
-        break;
     default:
         return SDL_SetError("Unknown OpenGL attribute");
     }