Suppress some unchecked return value warnings for Coverity
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13902 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
0baa87809f
commit
475c6c6ce0
3 changed files with 4 additions and 4 deletions
|
|
@ -271,7 +271,7 @@ static void retract(Scanner * s, int n) {
|
|||
if (str[l - 1] == '\n') {
|
||||
if (!s->freeze_line) s->line--;
|
||||
}
|
||||
Seek(s->str, -1, SEEK_CUR);
|
||||
(void)Seek(s->str, -1, SEEK_CUR);
|
||||
Delitem(s->text, DOH_END);
|
||||
}
|
||||
}
|
||||
|
|
@ -1317,7 +1317,7 @@ void Scanner_locator(Scanner *s, String *loc) {
|
|||
} else {
|
||||
int c;
|
||||
Locator *l;
|
||||
Seek(loc, 7, SEEK_SET);
|
||||
(void)Seek(loc, 7, SEEK_SET);
|
||||
c = Getc(loc);
|
||||
if (c == '@') {
|
||||
/* Empty locator. We pop the last location off */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue