Revision: 2086 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2086&view=re... Author: frlan Date: 2011-05-24 21:55:01 +0000 (Tue, 24 May 2011)
Log Message: ----------- GeanyLaTeX: Remove unused variable
Modified Paths: -------------- trunk/geany-plugins/geanylatex/src/latexenvironments.c trunk/geanylatex/src/latexenvironments.c
Modified: trunk/geany-plugins/geanylatex/src/latexenvironments.c =================================================================== --- trunk/geany-plugins/geanylatex/src/latexenvironments.c 2011-05-24 21:41:51 UTC (rev 2085) +++ trunk/geany-plugins/geanylatex/src/latexenvironments.c 2011-05-24 21:55:01 UTC (rev 2086) @@ -94,7 +94,7 @@ } else { - gint indent, pos, len; + gint indent, pos; GString *tmpstring = NULL; gchar *tmp = NULL; static const GeanyIndentPrefs *indention_prefs = NULL; @@ -114,8 +114,8 @@ } } } + pos = sci_get_current_position(doc->editor->sci); - len = strlen(environment);
sci_start_undo_action(doc->editor->sci);
Modified: trunk/geanylatex/src/latexenvironments.c =================================================================== --- trunk/geanylatex/src/latexenvironments.c 2011-05-24 21:41:51 UTC (rev 2085) +++ trunk/geanylatex/src/latexenvironments.c 2011-05-24 21:55:01 UTC (rev 2086) @@ -94,7 +94,7 @@ } else { - gint indent, pos, len; + gint indent, pos; GString *tmpstring = NULL; gchar *tmp = NULL; static const GeanyIndentPrefs *indention_prefs = NULL; @@ -115,7 +115,6 @@ } } pos = sci_get_current_position(doc->editor->sci); - len = strlen(environment);
sci_start_undo_action(doc->editor->sci);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.