SF.net SVN: geany:[3296] trunk/src/utils.c

eht16 at users.sourceforge.net eht16 at xxxxx
Sat Nov 29 18:34:56 UTC 2008


Revision: 3296
          http://geany.svn.sourceforge.net/geany/?rev=3296&view=rev
Author:   eht16
Date:     2008-11-29 18:34:56 +0000 (Sat, 29 Nov 2008)

Log Message:
-----------
Initialise static pointer, just to be safe.

Modified Paths:
--------------
    trunk/src/utils.c

Modified: trunk/src/utils.c
===================================================================
--- trunk/src/utils.c	2008-11-29 18:34:30 UTC (rev 3295)
+++ trunk/src/utils.c	2008-11-29 18:34:56 UTC (rev 3296)
@@ -1525,7 +1525,7 @@
  * but this should be the case for filenames. */
 const gchar *utils_build_path(const gchar *first, ...)
 {
-	static GString *buffer;
+	static GString *buffer = NULL;
 	const gchar *str;
 	va_list args;
 


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