Commit 21ac3e0
authored
Fix 'maybe unitialized' error (#19)
Building with recent compilers flags the following error:
```
Sming/Libraries/jerryscript/jerryscript/jerry-core/ecma/base/ecma-helpers-string.c:1848:6:
error: ‘string1_size_and_length[0]’ may be used uninitialized [-Werror=maybe-uninitialized]
1848 | if (string1_size_and_length[0] != string2_size_and_length[0]
````1 parent c8f2489 commit 21ac3e0
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
0 commit comments