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