SF.net SVN: geany-plugins:[873] trunk

frlan at users.sourceforge.net frlan at xxxxx
Mon Jul 27 08:21:37 UTC 2009


Revision: 873
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=873&view=rev
Author:   frlan
Date:     2009-07-27 08:21:35 +0000 (Mon, 27 Jul 2009)

Log Message:
-----------
Fix of another minor compiler warning

Modified Paths:
--------------
    trunk/geany-plugins/geanylatex/src/reftex.c
    trunk/geanylatex/src/reftex.c

Modified: trunk/geany-plugins/geanylatex/src/reftex.c
===================================================================
--- trunk/geany-plugins/geanylatex/src/reftex.c	2009-07-26 20:53:17 UTC (rev 872)
+++ trunk/geany-plugins/geanylatex/src/reftex.c	2009-07-27 08:21:35 UTC (rev 873)
@@ -52,12 +52,13 @@
 LaTeXLabel* glatex_parseLine(const gchar *line)
 {
 	LaTeXLabel *label;
-	label = g_new0(LaTeXLabel, 1);
 
 	gchar *t = NULL;
 	const gchar *x = NULL;
 	gint l = 0;
 
+	label = g_new0(LaTeXLabel, 1);
+
 	line += 10;
 	x = line;
 	t = strchr(line, '}');

Modified: trunk/geanylatex/src/reftex.c
===================================================================
--- trunk/geanylatex/src/reftex.c	2009-07-26 20:53:17 UTC (rev 872)
+++ trunk/geanylatex/src/reftex.c	2009-07-27 08:21:35 UTC (rev 873)
@@ -57,12 +57,15 @@
 LaTeXLabel* glatex_parseLine(const gchar *line)
 {
 	LaTeXLabel *label;
-	label = g_new0(LaTeXLabel, 1);
-	
+
 	gchar *t = NULL;
 	const gchar *x = NULL;
 	gint l = 0;
 
+	label = g_new0(LaTeXLabel, 1);
+
+
+
 	line += 10;
 	x = line;
 	t = strchr(line, '}');


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Plugins-Commits mailing list