Fix errors and warnings

Former-commit-id: a3ba309633f198f82c1d0277d750d867cad4ba44
This commit is contained in:
Lynix
2015-11-12 00:29:10 +01:00
parent a26c979d84
commit 5d6e6b2d45
14 changed files with 55 additions and 30 deletions

View File

@@ -1912,7 +1912,6 @@ namespace Nz
}
else
{
unsigned int newSize = m_sharedString->size + length;
auto newString = std::make_shared<SharedString>(m_sharedString->size + length);
char* ptr = newString->string.get();