Skip to content

Commit 3b10084

Browse files
committed
Ignore the return value differently.
1 parent c5b4a1c commit 3b10084

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

coders/djvu.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,6 @@ get_page_image(LoadContext *lc, ddjvu_page_t *page, int x, int y, int w, int h,
330330
*image;
331331

332332
int
333-
ret,
334333
stride;
335334

336335
unsigned char
@@ -372,14 +371,13 @@ get_page_image(LoadContext *lc, ddjvu_page_t *page, int x, int y, int w, int h,
372371
ddjvu_format_set_row_order(format, 1);
373372
ddjvu_format_set_y_direction(format, 1);
374373

375-
ret = ddjvu_page_render(page,
374+
(void) ddjvu_page_render(page,
376375
DDJVU_RENDER_COLOR, /* ddjvu_render_mode_t */
377376
&rect,
378377
&rect, /* mmc: ?? */
379378
format,
380379
stride, /* ?? */
381380
(char*)q);
382-
(void) ret;
383381
ddjvu_format_release(format);
384382

385383

0 commit comments

Comments
 (0)