summaryrefslogtreecommitdiff
path: root/atari
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2014-05-20 20:20:58 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2014-05-20 20:20:58 +0100
commit59f63984ee7f52b955d7ab5920058f0385bf7576 (patch)
tree32f47af7bd7df2747850a71dbf1e544918a7b279 /atari
parenta8e79b4d391fe41d25b1aeb79edc8a49b806751b (diff)
downloadnetsurf-59f63984ee7f52b955d7ab5920058f0385bf7576.tar.gz
netsurf-59f63984ee7f52b955d7ab5920058f0385bf7576.tar.bz2
Remove unused variables.
Diffstat (limited to 'atari')
-rwxr-xr-xatari/plot/font_vdi.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/atari/plot/font_vdi.c b/atari/plot/font_vdi.c
index aee116e2f..7f3dacf63 100755
--- a/atari/plot/font_vdi.c
+++ b/atari/plot/font_vdi.c
@@ -131,7 +131,6 @@ static int str_split( FONT_PLOTTER self, const plot_font_style_t * fstyle, const
short cw, ch, cellw, cellh;
short pxsize;
short fx=0;
- int i;
char *lstr = NULL;
size_t slen = 0;
int last_space_x = 0;
@@ -159,7 +158,6 @@ static int str_split( FONT_PLOTTER self, const plot_font_style_t * fstyle, const
vst_point( self->vdi_handle, pxsize, &cw, &ch, &cellw, &cellh);
*actual_x = 0;
//*char_offset = 0;
- int cpos=0;
while (nxtchr < slen) {
if( lstr[nxtchr] == ' ' ) {
last_space_x = *actual_x;
@@ -208,7 +206,6 @@ static int pixel_pos( FONT_PLOTTER self, const plot_font_style_t * fstyle,const
char *lstr = NULL;
int i=0;
- int curpx=0;
utf8_to_local_encoding(string, length, &lstr );
assert( lstr != NULL );
int slen = strlen(lstr);