Permalink
Browse files

Remove useless if statement.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5220 ea778897-0a13-0410-b9d1-a72fbfd435f5
  • Loading branch information...
1 parent 877f2e3 commit 4360b71fc7c81b2d82acd9a6ce323508977b0d05 @ntrel ntrel committed Sep 9, 2010
Showing with 1 addition and 2 deletions.
  1. +1 −2 tagmanager/options.c
View
@@ -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 = "";

0 comments on commit 4360b71

Please sign in to comment.