[iortcw] 45/497: MP: Fix a warning when compiling with clang

Simon McVittie smcv at debian.org
Fri Sep 8 10:36:14 UTC 2017


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to annotated tag 1.42d
in repository iortcw.

commit f4afeada431867a3cb821ef28209c5357f886f8b
Author: M4N4T4RMS at gmail.com <M4N4T4RMS at gmail.com@e65d2741-a53d-b2dc-ae96-bb75fa5e4c4a>
Date:   Tue Feb 11 08:56:23 2014 +0000

    MP: Fix a warning when compiling with clang
---
 MP/code/botlib/l_memory.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/MP/code/botlib/l_memory.c b/MP/code/botlib/l_memory.c
index f51c081..eef1e93 100644
--- a/MP/code/botlib/l_memory.c
+++ b/MP/code/botlib/l_memory.c
@@ -217,7 +217,7 @@ memoryblock_t *BlockFromPointer( void *ptr, char *str ) {
 		//char *crash = (char *) NULL;
 		//crash[0] = 1;
 		botimport.Print( PRT_FATAL, "%s: NULL pointer\n", str );
-#endif MEMDEBUG
+#endif // MEMDEBUG
 		return NULL;
 	} //end if
 	block = ( memoryblock_t * )( (char *) ptr - sizeof( memoryblock_t ) );

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git



More information about the Pkg-games-commits mailing list