Revision: 2016 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2016&view=re... Author: frlan Date: 2011-04-09 15:10:16 +0000 (Sat, 09 Apr 2011)
Log Message: ----------- GeanyVC: Initialize a couple of more variables with NULL to ensure we don't use them without any defined value
Modified Paths: -------------- trunk/geany-plugins/geanyvc/src/vc_cvs.c trunk/geany-plugins/geanyvc/src/vc_hg.c trunk/geany-plugins/geanyvc/src/vc_svk.c trunk/geany-plugins/geanyvc/src/vc_svn.c
Modified: trunk/geany-plugins/geanyvc/src/vc_cvs.c =================================================================== --- trunk/geany-plugins/geanyvc/src/vc_cvs.c 2011-04-09 15:09:50 UTC (rev 2015) +++ trunk/geany-plugins/geanyvc/src/vc_cvs.c 2011-04-09 15:10:16 UTC (rev 2016) @@ -162,7 +162,7 @@ const gchar *start = NULL; CommitItem *item;
- const gchar *status; + const gchar *status = NULL; gchar *filename; const char *argv[] = { "cvs", "-nq", "update", NULL };
Modified: trunk/geany-plugins/geanyvc/src/vc_hg.c =================================================================== --- trunk/geany-plugins/geanyvc/src/vc_hg.c 2011-04-09 15:09:50 UTC (rev 2015) +++ trunk/geany-plugins/geanyvc/src/vc_hg.c 2011-04-09 15:10:16 UTC (rev 2016) @@ -167,7 +167,7 @@ const gchar *start = NULL; CommitItem *item;
- const gchar *status; + const gchar *status = NULL; gchar *filename; const char *argv[] = { "hg", "status", NULL };
Modified: trunk/geany-plugins/geanyvc/src/vc_svk.c =================================================================== --- trunk/geany-plugins/geanyvc/src/vc_svk.c 2011-04-09 15:09:50 UTC (rev 2015) +++ trunk/geany-plugins/geanyvc/src/vc_svk.c 2011-04-09 15:10:16 UTC (rev 2016) @@ -173,7 +173,7 @@ const gchar *start = NULL; CommitItem *item;
- const gchar *status; + const gchar *status = NULL; gchar *filename; const char *argv[] = { "svk", "status", NULL };
Modified: trunk/geany-plugins/geanyvc/src/vc_svn.c =================================================================== --- trunk/geany-plugins/geanyvc/src/vc_svn.c 2011-04-09 15:09:50 UTC (rev 2015) +++ trunk/geany-plugins/geanyvc/src/vc_svn.c 2011-04-09 15:10:16 UTC (rev 2016) @@ -214,7 +214,7 @@ const gchar *start = NULL; CommitItem *item;
- const gchar *status; + const gchar *status = NULL; gchar *filename; const char *argv[] = { "svn", "status", NULL };
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org