summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/network/network_server.cpp2
-rw-r--r--src/os/macosx/splash.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/network/network_server.cpp b/src/network/network_server.cpp
index 09046fb50..bd01d9300 100644
--- a/src/network/network_server.cpp
+++ b/src/network/network_server.cpp
@@ -1152,8 +1152,8 @@ void NetworkServerSendChat(NetworkAction action, DestType desttype, int dest, co
}
}
}
- }
break;
+ }
default:
DEBUG(net, 0, "[server] received unknown chat destination type %d. Doing broadcast instead", desttype);
/* FALL THROUGH */
diff --git a/src/os/macosx/splash.cpp b/src/os/macosx/splash.cpp
index 6d8bf2f1f..14a2a877d 100644
--- a/src/os/macosx/splash.cpp
+++ b/src/os/macosx/splash.cpp
@@ -134,8 +134,8 @@ void DisplaySplashImage()
_pal_first_dirty = 0;
_pal_count_dirty = 256;
+ break;
}
- break;
case 32: {
uint32 *dst_ptr = (uint32 *)_screen.dst_ptr;
/* Initialize buffer */
@@ -149,8 +149,8 @@ void DisplaySplashImage()
dst[x] = palette[src[x]].blue | (palette[src[x]].green << 8) | (palette[src[x]].red << 16) | 0xff000000;
}
}
+ break;
}
- break;
}
png_destroy_read_struct(&png_ptr, &info_ptr, &end_info);