mirror of https://gitee.com/bigwinds/arangodb
cppcheck
This commit is contained in:
parent
c6efe26198
commit
a24d26d74f
|
@ -515,7 +515,7 @@ void ImportHelper::addField(char const* field, size_t fieldLength, size_t row,
|
||||||
if (fieldLength > 8) {
|
if (fieldLength > 8) {
|
||||||
// long integer numbers might be problematic. check if we get out of
|
// long integer numbers might be problematic. check if we get out of
|
||||||
// range
|
// range
|
||||||
std::stoll(std::string(
|
(void) std::stoll(std::string(
|
||||||
field,
|
field,
|
||||||
fieldLength)); // this will fail if the number cannot be converted
|
fieldLength)); // this will fail if the number cannot be converted
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue