Fix compiler warnings + one review finding.

This commit is contained in:
Kim Kulling
2017-07-09 22:17:35 +02:00
parent 647b59b7fa
commit d40b6089e8
7 changed files with 15 additions and 37 deletions

View File

@@ -358,7 +358,6 @@ void BaseImporter::ConvertToUTF8(std::vector<char>& data)
DefaultLogger::get()->debug("Found UTF-16 BOM ...");
std::vector<unsigned char> output;
int16_t *ptr = (int16_t*) &data[ 0 ];
utf8::utf16to8(data.begin(), data.end(), back_inserter(output));
return;
}