Fixes suggested by static analyzer

This commit is contained in:
Pavel Kirienko
2014-04-18 18:46:47 +04:00
parent 1bac8d6561
commit bfe1447426
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -220,7 +220,7 @@ std::string Frame::toString() const
ofs += snprintf(buf + ofs, BUFLEN - ofs, " ");
}
}
ofs += snprintf(buf + ofs, BUFLEN - ofs, "]");
(void)snprintf(buf + ofs, BUFLEN - ofs, "]");
return std::string(buf);
}
#endif