Skip to content
Snippets Groups Projects
Commit b2c565ec authored by Adam Borowski's avatar Adam Borowski
Browse files

test: don't use a FILE pointer after fclose

GCC 12 considers this wrong:
ut_file.c:92:17: error: pointer ‘stream’ may be used after ‘fclose’
    [-Werror=use-after-free]
In our case the pointer doesn't actually get dereferenced -- but then,
knowing its no longer valid value doesn't help in debugging, thus
there's no point in arguing with the compiler.
parent bbd93c8c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment