SF.net SVN: geany:[5220] trunk/tagmanager/options.c

ntrel at users.sourceforge.net ntrel at xxxxx
Thu Sep 9 17:07:12 UTC 2010


Revision: 5220
          http://geany.svn.sourceforge.net/geany/?rev=5220&view=rev
Author:   ntrel
Date:     2010-09-09 17:07:12 +0000 (Thu, 09 Sep 2010)

Log Message:
-----------
Remove useless if statement.

Modified Paths:
--------------
    trunk/tagmanager/options.c

Modified: trunk/tagmanager/options.c
===================================================================
--- trunk/tagmanager/options.c	2010-09-09 17:04:09 UTC (rev 5219)
+++ trunk/tagmanager/options.c	2010-09-09 17:07:12 UTC (rev 5220)
@@ -131,8 +131,7 @@
     const char *extension;
     const char *pDelimiter = NULL;
 
-    if (pDelimiter == NULL)
-        pDelimiter = strrchr (fileName, '.');
+    pDelimiter = strrchr (fileName, '.');
 
     if (pDelimiter == NULL)
 	extension = "";


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list