Replaced 0 literals by more explicit '\0' and NULL

This commit is contained in:
Benoit Blanchon
2014-11-03 17:03:55 +01:00
parent c1c63067d4
commit 1ce6d663af
5 changed files with 12 additions and 13 deletions

View File

@ -12,6 +12,6 @@ size_t StringBuilder::write(uint8_t c) {
if (length >= capacity) return 0;
buffer[length++] = c;
buffer[length] = 0;
buffer[length] = '\0';
return 1;
}