diff options
author | Patrick Steinhardt <ps@pks.im> | 2018-05-04 15:25:22 +0200 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2018-05-04 15:25:22 +0200 |
commit | 0750d0cc5b449c5545fcc0099df6737f63e32a19 (patch) | |
tree | e39b9d4cc72626841369c18ca31084b1171d5402 /tests/diff/diffiter.c | |
parent | ba5e39ac92addf5d2183ac4ceb66ab52c59c017b (diff) | |
download | libgit2-0750d0cc5b449c5545fcc0099df6737f63e32a19.tar.gz |
tests: refs::normalize: simplify code to avoid GCC warning
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.
Diffstat (limited to 'tests/diff/diffiter.c')
0 files changed, 0 insertions, 0 deletions