summaryrefslogtreecommitdiff
path: root/apps/buffering.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/buffering.c')
-rw-r--r--apps/buffering.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/buffering.c b/apps/buffering.c
index 4f2ec324de..afc444a456 100644
--- a/apps/buffering.c
+++ b/apps/buffering.c
@@ -849,7 +849,9 @@ static int load_image(int fd, const char *path)
849 struct bitmap *bmp = (struct bitmap *)&buffer[buf_widx]; 849 struct bitmap *bmp = (struct bitmap *)&buffer[buf_widx];
850 /* FIXME: alignment may be needed for the data buffer. */ 850 /* FIXME: alignment may be needed for the data buffer. */
851 bmp->data = &buffer[buf_widx + sizeof(struct bitmap)]; 851 bmp->data = &buffer[buf_widx + sizeof(struct bitmap)];
852 852#ifndef HAVE_JPEG
853 (void) path;
854#endif
853#if (LCD_DEPTH > 1) || defined(HAVE_REMOTE_LCD) && (LCD_REMOTE_DEPTH > 1) 855#if (LCD_DEPTH > 1) || defined(HAVE_REMOTE_LCD) && (LCD_REMOTE_DEPTH > 1)
854 bmp->maskdata = NULL; 856 bmp->maskdata = NULL;
855#endif 857#endif