make valgrind stop crying wolf
This commit is contained in:
parent
b93615940e
commit
fd8f530656
|
@ -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 New Issue