normalize.c
13.5 KB
-
tests: refs::normalize: simplify code to avoid GCC warning · 0750d0cc
Since version 8.1, GCC will do some automatic bounds checking when printing static content into a buffer with known size. The bounds checking doesn't yet work quite right in all scenarios and may thus lead to false positives. Fix one of these false positives in refs::normalize by simplifying the code.
Patrick Steinhardt committed