]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix a compile error when MEMPARANOIA is off
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 12 Jul 2009 22:25:50 +0000 (22:25 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 12 Jul 2009 22:25:50 +0000 (22:25 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9056 d7cf8633-e32d-0410-b094-e92efae38249

zone.c

diff --git a/zone.c b/zone.c
index 7eefcd7554d2021d618d2bce2c66298b7805800c..37e06f5dc9fd99d16f3434a2870537df6d6b0d83 100644 (file)
--- a/zone.c
+++ b/zone.c
@@ -674,7 +674,9 @@ Memory_Init
 */
 void Memory_Init (void)
 {
+#if MEMPARANOIA
        sentinel_seed = rand();
+#endif
        poolchain = NULL;
        tempmempool = Mem_AllocPool("Temporary Memory", POOLFLAG_TEMP, NULL);
        zonemempool = Mem_AllocPool("Zone", 0, NULL);