Various warning fixes for .NET 2003 cl /W4 to work barring one warning and for gcc -ansi -Wall -pedantic to be warning free:
const fixes and function prototype declarations matching the definition etc git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5639 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
cbcb2216b8
commit
b0df32dd1a
24 changed files with 77 additions and 63 deletions
|
|
@ -520,6 +520,8 @@ end_quote(char *s)
|
|||
static char *
|
||||
match_simple(char *base, char *s, char *token, int tokenlen)
|
||||
{
|
||||
(void)base;
|
||||
(void)tokenlen;
|
||||
return strstr(s,token);
|
||||
}
|
||||
|
||||
|
|
@ -561,6 +563,7 @@ match_identifier_begin(char *base, char *s, char *token, int tokenlen)
|
|||
static char *
|
||||
match_identifier_end(char *base, char *s, char *token, int tokenlen)
|
||||
{
|
||||
(void)base;
|
||||
while (s) {
|
||||
s = strstr(s,token);
|
||||
if (!s) return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue