SF.net SVN: geany: [2674] trunk

ntrel at users.sourceforge.net ntrel at xxxxx
Tue Jun 10 12:16:29 UTC 2008


Revision: 2674
          http://geany.svn.sourceforge.net/geany/?rev=2674&view=rev
Author:   ntrel
Date:     2008-06-10 05:16:27 -0700 (Tue, 10 Jun 2008)

Log Message:
-----------
Remove unnecessary vStringClear(name) calls after using the name
buffer, as the convention is now to clear the buffer before use, and
this is easier to remember to do.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/tagmanager/python.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2008-06-09 19:29:54 UTC (rev 2673)
+++ trunk/ChangeLog	2008-06-10 12:16:27 UTC (rev 2674)
@@ -1,3 +1,11 @@
+2008-06-10  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
+
+ * tagmanager/python.c:
+   Remove unnecessary vStringClear(name) calls after using the name
+   buffer, as the convention is now to clear the buffer before use, and
+   this is easier to remember to do.
+
+
 2008-06-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
 
  * scintilla/makefile.win32:
@@ -15,8 +23,8 @@
    above (it's statically linked into GLib).
    Install Geany's message catalogs into share/locale rather than
    lib/locale as GTK does since 2.12.2.
-   
 
+
 2008-06-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
 
  * tagmanager/python.c:

Modified: trunk/tagmanager/python.c
===================================================================
--- trunk/tagmanager/python.c	2008-06-09 19:29:54 UTC (rev 2673)
+++ trunk/tagmanager/python.c	2008-06-10 12:16:27 UTC (rev 2674)
@@ -571,7 +571,6 @@
 					parseFunction(cp, name, parent, is_parent_class);
 
 				addNestingLevel(nesting_levels, indent, name, is_class);
-				vStringClear(name);
 			}
 		}
 		/* Find global and class variables */
@@ -595,8 +594,6 @@
 				continue;
 
 			makeVariableTag (name, parent);
-
-			vStringClear (name);
 		}
 	}
 	/* Clean up all memory we allocated. */


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