PDBox: Got rid of warnings.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22173 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Wincent Balin 2009-08-05 15:09:26 +00:00
parent 4ac9bebd42
commit 764b12fc1d
5 changed files with 13 additions and 8 deletions

View file

@ -138,7 +138,9 @@ void glist_clear(t_glist *x)
void glist_retext(t_glist *glist, t_text *y)
{
#ifndef ROCKBOX
#ifdef ROCKBOX
glist_getcanvas(glist);
#else
t_canvas *c = glist_getcanvas(glist);
#endif
/* check that we have built rtexts yet. LATER need a better test. */