Commit 3c3f1e79 authored by vysheng's avatar vysheng

Fixed warning

parent f06d3c16
...@@ -56,7 +56,7 @@ int tasprintf (char **res, const char *format, ...) { ...@@ -56,7 +56,7 @@ int tasprintf (char **res, const char *format, ...) {
return r; return r;
} }
void tfree (void *ptr, int size) { void tfree (void *ptr, int size __attribute__ ((unused))) {
#ifdef DEBUG #ifdef DEBUG
ptr -= 4; ptr -= 4;
assert (*(int *)ptr == (int)((size) ^ 0xbedabeda)); assert (*(int *)ptr == (int)((size) ^ 0xbedabeda));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment