mirror of
https://github.com/simon987/sist2.git
synced 2025-12-14 15:59:03 +00:00
Errors cleanup
This commit is contained in:
@@ -244,8 +244,8 @@ static void text_buffer_terminate_string(text_buffer_t *buf) {
|
||||
__always_inline
|
||||
static int text_buffer_append_string(text_buffer_t *buf, const char *str, size_t len) {
|
||||
|
||||
char *ptr = str;
|
||||
char *oldPtr = ptr;
|
||||
const char *ptr = str;
|
||||
const char *oldPtr = ptr;
|
||||
|
||||
if (str == NULL || UTF8_END_OF_STRING) {
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user