Skip to content

Commit

Permalink
Don't use a nonliteral format string in test/fheap.c:begin_test(). (#…
Browse files Browse the repository at this point in the history
…1401)

* Avoid using a non-literal formatting string with sprintf in begin_test.
Use snprintf.  Don't duplicate a string on the heap unnecessarily.

* Do not deactivate -Wformat-nonliteral: we don't use a nonliteral format
string any more.

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
gnuoyd and github-actions[bot] authored Feb 3, 2022
1 parent 1d59818 commit 856de93
Showing 1 changed file with 60 additions and 87 deletions.
Loading

0 comments on commit 856de93

Please sign in to comment.