diff --git a/src/m_memory.c b/src/m_memory.c
index 1633fc5dfd4c3afd47cd6679c439dae0c41464e8..6bfde2fedc4342a6c344d5cfa555006310427030 100644
--- a/src/m_memory.c
+++ b/src/m_memory.c
@@ -17,7 +17,7 @@
 static int totalmem = 0;
 #endif
 
-static int memoffset = 0;
+//static int memoffset = 0;
 
 void *getbytes(size_t nbytes)
 {