Cleaned up some small warnings.

Kent
This commit is contained in:
Kent Mein
2008-09-04 16:40:20 +00:00
parent f0eaf424ab
commit 2167e5c341
2 changed files with 2 additions and 2 deletions

View File

@@ -33,6 +33,7 @@
struct ScrArea; struct ScrArea;
struct SpaceText; struct SpaceText;
struct Text; struct Text;
struct TextLine;
void unlink_text(struct Text *text); void unlink_text(struct Text *text);

View File

@@ -138,8 +138,6 @@ static void get_selection_buffer(Text *text);
static int check_bracket(char ch); static int check_bracket(char ch);
static int check_delim(char ch); static int check_delim(char ch);
static int check_digit(char ch); static int check_digit(char ch);
static int check_builtinfuncs(char *string);
static int check_specialvars(char *string);
static int check_identifier(char ch); static int check_identifier(char ch);
static int check_whitespace(char ch); static int check_whitespace(char ch);
@@ -595,6 +593,7 @@ static void set_cursor_to_pos (SpaceText *st, int x, int y, int sel)
chop= 1; chop= 1;
chars= 0; chars= 0;
curs= 0; curs= 0;
endj= 0;
for (i=0, j=0; loop; j++) { for (i=0, j=0; loop; j++) {
/* Mimic replacement of tabs */ /* Mimic replacement of tabs */