From 4360b71fc7c81b2d82acd9a6ce323508977b0d05 Mon Sep 17 00:00:00 2001 From: Nick Treleaven Date: Thu, 9 Sep 2010 17:07:12 +0000 Subject: [PATCH] Remove useless if statement. git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5220 ea778897-0a13-0410-b9d1-a72fbfd435f5 --- tagmanager/options.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tagmanager/options.c b/tagmanager/options.c index a2ea39c4..04b4cb06 100644 --- a/tagmanager/options.c +++ b/tagmanager/options.c @@ -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 = "";