Suppress bogus coverity warnings

This commit is contained in:
vitaut
2015-10-22 05:58:37 -07:00
parent 869ed1ec19
commit b64913b00b
2 changed files with 3 additions and 4 deletions
+1
View File
@@ -449,6 +449,7 @@ class BasicArgFormatter : public ArgVisitor<Impl, void> {
std::fill_n(out, spec_.width_ - 1, fill);
out += spec_.width_ - 1;
} else if (spec_.align_ == ALIGN_CENTER) {
// coverity[suspicious_sizeof]
out = writer_.fill_padding(out, spec_.width_, 1, fill);
} else {
std::fill_n(out + 1, spec_.width_ - 1, fill);