Revision: 5763 http://geany.svn.sourceforge.net/geany/?rev=5763&view=rev Author: eht16 Date: 2011-05-08 16:02:40 +0000 (Sun, 08 May 2011)
Log Message: ----------- Remove unused variables.
Modified Paths: -------------- trunk/src/editor.c
Modified: trunk/src/editor.c =================================================================== --- trunk/src/editor.c 2011-05-08 15:43:39 UTC (rev 5762) +++ trunk/src/editor.c 2011-05-08 16:02:40 UTC (rev 5763) @@ -1527,7 +1527,6 @@ /* Called after typing '}'. */ static void close_block(GeanyEditor *editor, gint pos) { - GeanyDocument *doc; const GeanyIndentPrefs *iprefs = editor_get_indent_prefs(editor); gint x = 0, cnt = 0; gint line, line_len, eol_char_len; @@ -1540,7 +1539,6 @@ g_return_if_fail(editor != NULL && editor->document->file_type != NULL);
sci = editor->sci; - doc = editor->document;
if (! lexer_has_braces(sci)) return; @@ -2137,7 +2135,7 @@
gboolean editor_start_auto_complete(GeanyEditor *editor, gint pos, gboolean force) { - gint line, line_start, line_len, line_pos, current, rootlen, startword, lexer, style; + gint line, line_start, current, rootlen, startword, lexer, style; gchar *linebuf, *root; ScintillaObject *sci; gboolean ret = FALSE; @@ -2159,8 +2157,6 @@
line = sci_get_line_from_position(sci, pos); line_start = sci_get_position_from_line(sci, line); - line_len = sci_get_line_length(sci, line); - line_pos = pos - line_start - 1; current = pos - line_start; startword = current; lexer = sci_get_lexer(sci);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.