Remove some vc++ /W4 warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10540 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
7a68c5c003
commit
49675199f4
20 changed files with 146 additions and 152 deletions
|
|
@ -352,7 +352,8 @@ char *Swig_file_filename(const String_or_char *filename) {
|
|||
char *c;
|
||||
|
||||
strcpy(tmp, Char(filename));
|
||||
if ((c = strrchr(tmp, *delim)))
|
||||
c = strrchr(tmp, *delim);
|
||||
if (c)
|
||||
return c + 1;
|
||||
else
|
||||
return tmp;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue