Commented and tagged some unused vars (gcc warnings...). Also fixed some uninitialized warnings.

This commit is contained in:
2011-09-26 13:24:42 +00:00
parent c23bc03382
commit 3cff99c9a1
6 changed files with 18 additions and 18 deletions

View File

@@ -51,7 +51,7 @@
int text_do_suggest_select(SpaceText *st, ARegion *ar)
{
SuggItem *item, *first, *last, *sel;
SuggItem *item, *first, *last /* , *sel */ /* UNUSED */;
TextLine *tmp;
int l, x, y, w, h, i;
int tgti, *top;
@@ -62,7 +62,7 @@ int text_do_suggest_select(SpaceText *st, ARegion *ar)
first = texttool_suggest_first();
last = texttool_suggest_last();
sel = texttool_suggest_selected();
/* sel = texttool_suggest_selected(); */ /* UNUSED */
top = texttool_suggest_top();
if(!last || !first)