mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-20 19:58:33 +00:00
Fixed compile warning
This commit is contained in:
parent
16b8c4ea43
commit
8ed16ea465
1 changed files with 4 additions and 0 deletions
|
@ -2946,13 +2946,17 @@ static void
|
|||
internal_malloc_stats(mstate m)
|
||||
{
|
||||
if (!PREACTION(m)) {
|
||||
#ifndef LACKS_STDIO_H
|
||||
size_t maxfp = 0;
|
||||
#endif
|
||||
size_t fp = 0;
|
||||
size_t used = 0;
|
||||
check_malloc_state(m);
|
||||
if (is_initialized(m)) {
|
||||
msegmentptr s = &m->seg;
|
||||
#ifndef LACKS_STDIO_H
|
||||
maxfp = m->max_footprint;
|
||||
#endif
|
||||
fp = m->footprint;
|
||||
used = fp - (m->topsize + TOP_FOOT_SIZE);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue