We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc7d550 commit 040fac0Copy full SHA for 040fac0
shared-module/os/getenv.c
@@ -101,8 +101,6 @@ STATIC void seek_eof(file_arg *active_file) {
101
STATIC void vstr_add_byte_nonstd(vstr_t *vstr, byte b) {
102
if (!vstr->fixed_buf || vstr->alloc > vstr->len) {
103
vstr_add_byte(vstr, b);
104
- } else {
105
- vstr->len++;
106
}
107
108
@@ -114,8 +112,6 @@ STATIC void vstr_add_char_nonstd(vstr_t *vstr, unichar c) {
114
112
(c < 0x10000) ? 3 : 4;
115
113
if (!vstr->fixed_buf || vstr->alloc > vstr->len + ulen) {
116
vstr_add_char(vstr, c);
117
118
- vstr->len += ulen;
119
120
121
0 commit comments