Revision: 2010 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2010&view=re... Author: frlan Date: 2011-04-03 01:18:28 +0000 (Sun, 03 Apr 2011)
Log Message: ----------- GeanyVC: Initialize variable with NULL to avoid possible issues in case of dir could not be set correctly.
Modified Paths: -------------- trunk/geany-plugins/geanyvc/src/geanyvc.c
Modified: trunk/geany-plugins/geanyvc/src/geanyvc.c =================================================================== --- trunk/geany-plugins/geanyvc/src/geanyvc.c 2011-03-30 22:03:34 UTC (rev 2009) +++ trunk/geany-plugins/geanyvc/src/geanyvc.c 2011-04-03 01:18:28 UTC (rev 2010) @@ -514,7 +514,7 @@ execute_command(const VC_RECORD * vc, gchar ** std_out, gchar ** std_err, const gchar * filename, gint cmd, GSList * list, const gchar * message) { - gchar *dir; + gchar *dir = NULL; gint ret;
if (std_out)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org