Fix potential bugs found by Coverity analysis
This commit is contained in:
parent
2071b7d157
commit
dcbd6e39e3
1 changed files with 1 additions and 1 deletions
|
|
@ -1557,7 +1557,7 @@ String *Scanner_get_raw_text_balanced(Scanner *s, int startchar, int endchar) {
|
||||||
char c;
|
char c;
|
||||||
int old_line = s->line;
|
int old_line = s->line;
|
||||||
String *old_text = Copy(s->text);
|
String *old_text = Copy(s->text);
|
||||||
int position = Tell(s->str);
|
long position = Tell(s->str);
|
||||||
|
|
||||||
int num_levels = 1;
|
int num_levels = 1;
|
||||||
int state = 0;
|
int state = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue