mirror of
https://github.com/wolfcw/libfaketime.git
synced 2026-05-17 00:26:16 +03:00
Merge pull request #528 from ppisar/gcc16
tests: Silence an unused-but-set-variable warning with GCC 16
This commit is contained in:
@@ -76,7 +76,7 @@ void *malloc(size_t size) {
|
||||
}
|
||||
|
||||
void free(void *ptr) {
|
||||
long int ptr2 = (long int) ptr; ptr2 -= (long int) ptr;
|
||||
(void) ptr; /* unused */
|
||||
print_msg("Called free() on from libmallocintercept...");
|
||||
poke_faketime();
|
||||
print_msg("successfully\n");
|
||||
|
||||
Reference in New Issue
Block a user