summaryrefslogtreecommitdiffstats
path: root/apps/plugins/pictureflow
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-01 11:42:41 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-01 11:42:41 +0000
commite75018ad66658c968b50767847ea1ed5408897ba (patch)
tree83096f55f8d89521e8938ac355722579abff72df /apps/plugins/pictureflow
parent5e57edf2632eb69b0749a9af984fa399a487bec4 (diff)
downloadrockbox-e75018ad66658c968b50767847ea1ed5408897ba.tar.gz
rockbox-e75018ad66658c968b50767847ea1ed5408897ba.tar.bz2
rockbox-e75018ad66658c968b50767847ea1ed5408897ba.zip
Fix several 'variable set but not used' warnings reported from GCC 4.6.0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29805 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/pictureflow')
-rw-r--r--apps/plugins/pictureflow/pictureflow.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/plugins/pictureflow/pictureflow.c b/apps/plugins/pictureflow/pictureflow.c
index 97a3b82176..d26e6ead60 100644
--- a/apps/plugins/pictureflow/pictureflow.c
+++ b/apps/plugins/pictureflow/pictureflow.c
@@ -1257,14 +1257,13 @@ int create_empty_slide(bool force)
{
if ( force || ! rb->file_exists( EMPTY_SLIDE ) ) {
struct bitmap input_bmp;
- int ret;
input_bmp.width = DISPLAY_WIDTH;
input_bmp.height = DISPLAY_HEIGHT;
#if LCD_DEPTH > 1
input_bmp.format = FORMAT_NATIVE;
#endif
input_bmp.data = (char*)buf;
- ret = scaled_read_bmp_file(EMPTY_SLIDE_BMP, &input_bmp,
+ scaled_read_bmp_file(EMPTY_SLIDE_BMP, &input_bmp,
buf_size,
FORMAT_NATIVE|FORMAT_RESIZE|FORMAT_KEEP_ASPECT,
&format_transposed);