Fixed warning

This commit is contained in:
vysheng 2014-01-10 21:13:27 +04:00
parent feed5229b5
commit 4a9eedba81

View file

@ -56,7 +56,7 @@ int tasprintf (char **res, const char *format, ...) {
return r;
}
void tfree (void *ptr, int size) {
void tfree (void *ptr, int size __attribute__ ((unused))) {
#ifdef DEBUG
ptr -= 4;
assert (*(int *)ptr == (int)((size) ^ 0xbedabeda));