Remove useless if statement.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5220 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
877f2e30bb
commit
4360b71fc7
@ -131,8 +131,7 @@ extern const char *fileExtension (const char *const fileName)
|
||||
const char *extension;
|
||||
const char *pDelimiter = NULL;
|
||||
|
||||
if (pDelimiter == NULL)
|
||||
pDelimiter = strrchr (fileName, '.');
|
||||
pDelimiter = strrchr (fileName, '.');
|
||||
|
||||
if (pDelimiter == NULL)
|
||||
extension = "";
|
||||
|
Loading…
x
Reference in New Issue
Block a user