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:
Nick Treleaven 2010-09-09 17:07:12 +00:00
parent 877f2e30bb
commit 4360b71fc7

View File

@ -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 = "";