SF.net SVN: geany:[5219] trunk/tagmanager/args.c

ntrel at users.sourceforge.net ntrel at xxxxx
Thu Sep 9 17:04:09 UTC 2010


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

Log Message:
-----------
Fix useless Assert.

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

Modified: trunk/tagmanager/args.c
===================================================================
--- trunk/tagmanager/args.c	2010-09-09 17:00:41 UTC (rev 5218)
+++ trunk/tagmanager/args.c	2010-09-09 17:04:09 UTC (rev 5219)
@@ -115,12 +115,12 @@
 static char* nextFileLine (FILE* const fp)
 {
     char* result = NULL;
+    Assert (fp != NULL);
     if (! feof (fp))
     {
 	vString* vs = vStringNew ();
 	int c;
 
-	Assert (fp != NULL);
 	c = fgetc (fp);
 	while (c != EOF  &&  c != '\n')
 	{


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