diff options
author | Oystein Eftevaag | 2010-08-26 23:41:39 +0000 |
---|---|---|
committer | Oystein Eftevaag | 2010-08-26 23:41:39 +0000 |
commit | a7541810b4c4b991267ce7a63c6c4ad25e79e080 (patch) | |
tree | 9ac774e07971dc1b9470e585f94202e1cdfb0ea9 /engines/hugo/util.cpp | |
parent | 98400327c3d2e497bba04f22dd096fcca4eeb255 (diff) | |
download | scummvm-rg350-a7541810b4c4b991267ce7a63c6c4ad25e79e080.tar.gz scummvm-rg350-a7541810b4c4b991267ce7a63c6c4ad25e79e080.tar.bz2 scummvm-rg350-a7541810b4c4b991267ce7a63c6c4ad25e79e080.zip |
HUGO: Removed some dead code and redundant indirection
svn-id: r52404
Diffstat (limited to 'engines/hugo/util.cpp')
-rw-r--r-- | engines/hugo/util.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/engines/hugo/util.cpp b/engines/hugo/util.cpp index fb3da9df88..3bd8f8100c 100644 --- a/engines/hugo/util.cpp +++ b/engines/hugo/util.cpp @@ -182,25 +182,4 @@ void Utils::gameOverMsg(void) { warning("STUB: Gameover_msg(): %s", HugoEngine::get()._textUtil[kGameOver]); } -#if 0 -// Strangerke: Useless? -void Utils::Debug_out(char *format, ...) { - /* Write debug info to file */ - static FILE *fp = NULL; - va_list marker; - - if (HugoEngine::get().getGameStatus().debugFl) { - /* Create/truncate if first call, else append */ - if ((fp = fopen("debug.txt", (fp == NULL) ? "w" : "a")) == NULL) { - Error(WRITE_ERR, "debug.txt"); - return; - } - - va_start(marker, format); - vfprintf(fp, format, marker); - va_end(marker); - fclose(fp); - } -} -#endif } // end of namespace Hugo |