mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
make valgrind stop crying wolf
This commit is contained in:
parent
b93615940e
commit
fd8f530656
1 changed files with 2 additions and 1 deletions
|
@ -1315,7 +1315,8 @@ QFS_StripExtension (const char *in, char *out)
|
|||
{
|
||||
char *tmp;
|
||||
|
||||
strcpy (out, in);
|
||||
if (out != in)
|
||||
strcpy (out, in);
|
||||
|
||||
if ((tmp = strrchr (out, '.')))
|
||||
*tmp = 0;
|
||||
|
|
Loading…
Reference in a new issue