Skip to content

Commit

Permalink
Fixed: Compiler warnings
Browse files Browse the repository at this point in the history
Ignoring/suppressing warnings.
  • Loading branch information
skyjake committed Dec 4, 2012
1 parent 1ca2b92 commit 77a8d09
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/engine/src/dd_main.cpp
Expand Up @@ -127,7 +127,7 @@ int isDedicated;
int verbose; // For debug messages (-verbose).

// List of file names, whitespace seperating (written to .cfg).
char* startupFiles = "";
char* startupFiles = (char*) ""; // ignore warning

// Id of the currently running title finale if playing, else zero.
finaleid_t titleFinale;
Expand Down
2 changes: 2 additions & 0 deletions doomsday/engine/src/resource/models.cpp
Expand Up @@ -213,6 +213,7 @@ static void loadMd2(de::FileHandle& file, model_t& mdl)
// Read the header.
bool readHeaderOk = readMd2Header(file, oldHdr);
DENG_ASSERT(readHeaderOk);
DENG_UNUSED(readHeaderOk); // should this be checked?

// Convert it to DMD.
hdr.magic = MD2_MAGIC;
Expand Down Expand Up @@ -326,6 +327,7 @@ static void loadDmd(de::FileHandle& file, model_t& mdl)
// Read the header.
bool readHeaderOk = readHeaderDmd(file, mdl.header);
DENG_ASSERT(readHeaderOk);
DENG_UNUSED(readHeaderOk); // should this be checked?

dmd_info_t& inf = mdl.info;

Expand Down

0 comments on commit 77a8d09

Please sign in to comment.