Initialise static pointer, just to be safe.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3296 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
3a8883a46d
commit
3ae60f4089
@ -1525,7 +1525,7 @@ gboolean utils_spawn_async(const gchar *dir, gchar **argv, gchar **env, GSpawnFl
|
||||
* 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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user