diff --git a/indra/llwindow/llwindowsdl.cpp b/indra/llwindow/llwindowsdl.cpp
index c4406b6efe68f237aa0739fe212fb7991d84f5e9..006b96d532d958d4dd9173d6f8f5dc7c2b9329cd 100644
--- a/indra/llwindow/llwindowsdl.cpp
+++ b/indra/llwindow/llwindowsdl.cpp
@@ -166,32 +166,33 @@ void sdlLogOutputFunc(void *userdata, int category, SDL_LogPriority priority, co
 {
     LLError::ELevel level = LLError::LEVEL_INFO;
     std::string level_str;
-    switch (priority)
-    {
-    case SDL_LOG_PRIORITY_VERBOSE:
-        level = LLError::LEVEL_DEBUG;
-        level_str = "VERBOSE";
-        break;
-    case SDL_LOG_PRIORITY_DEBUG:
-        level = LLError::LEVEL_DEBUG;
-        level_str = "DEBUG";
-        break;
-    case SDL_LOG_PRIORITY_INFO:
-        level = LLError::LEVEL_INFO;
-        level_str = "INFO";
-        break;
-    case SDL_LOG_PRIORITY_WARN:
-        level = LLError::LEVEL_WARN;
-        level_str = "WARN";
-        break;
-    case SDL_LOG_PRIORITY_ERROR:
-        level = LLError::LEVEL_WARN;
-        level_str = "ERROR";
-        break;
-    case SDL_LOG_PRIORITY_CRITICAL:
-        level = LLError::LEVEL_WARN;
-        level_str = "CRITICAL";
-        break;
+    switch (priority) {
+        case SDL_LOG_PRIORITY_VERBOSE:
+            level = LLError::LEVEL_DEBUG;
+            level_str = "VERBOSE";
+            break;
+        case SDL_LOG_PRIORITY_DEBUG:
+            level = LLError::LEVEL_DEBUG;
+            level_str = "DEBUG";
+            break;
+        case SDL_LOG_PRIORITY_INFO:
+            level = LLError::LEVEL_INFO;
+            level_str = "INFO";
+            break;
+        case SDL_LOG_PRIORITY_WARN:
+            level = LLError::LEVEL_WARN;
+            level_str = "WARN";
+            break;
+        case SDL_LOG_PRIORITY_ERROR:
+            level = LLError::LEVEL_WARN;
+            level_str = "ERROR";
+            break;
+        case SDL_LOG_PRIORITY_CRITICAL:
+            level = LLError::LEVEL_WARN;
+            level_str = "CRITICAL";
+            break;
+        case SDL_NUM_LOG_PRIORITIES:
+            break;
     }
 
     std::string category_str;