Skip to content

Commit

Permalink
Fixed: Compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Jan 9, 2014
1 parent 6b251f7 commit ff2c1fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions doomsday/client/src/network/monitor.cpp
Expand Up @@ -53,8 +53,6 @@ void Monitor_Add(const uint8_t* bytes, size_t size)

static void Monitor_Print(void)
{
int i, k;

if(!monitoredBytes)
{
LOGDEV_NET_MSG("Nothing has been sent yet");
Expand All @@ -63,6 +61,7 @@ static void Monitor_Print(void)
LOGDEV_NET_MSG("%i bytes sent (%i packets)") << monitoredBytes << monitoredPackets;
/// @todo The below needs updating. -jk
#if 0
int i, k;
for(i = 0, k = 0; i < 256; ++i)
{
if(!k) Con_Printf(" ");
Expand Down
1 change: 1 addition & 0 deletions doomsday/server/src/server/sv_main.cpp
Expand Up @@ -473,6 +473,7 @@ void Sv_ExecuteCommand(void)

default:
DENG_ASSERT(!"Sv_ExecuteCommand: Not a command packet!");
return;
}

// Make a copy of the command.
Expand Down

0 comments on commit ff2c1fc

Please sign in to comment.