Fixed warning
This commit is contained in:
parent
feed5229b5
commit
4a9eedba81
1 changed files with 1 additions and 1 deletions
2
tools.c
2
tools.c
|
@ -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));
|
||||
|
|
Loading…
Add table
Reference in a new issue