mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-16 20:12:16 +02:00
Replaced 0 literals by more explicit '\0' and NULL
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user