1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 04:20:27 +01:00

wrlib: Value stored to 'bptr' is never read

Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
This commit is contained in:
Amadeusz Sławiński
2014-05-18 13:32:42 +02:00
committed by Carlos R. Mafra
parent 1c6d0f38ef
commit 1b69c49fb2

View File

@@ -136,7 +136,8 @@ RImage *RLoadJPEG(const char *file_name)
goto bye;
}
bptr = buffer[0] = (JSAMPROW) malloc(cinfo.image_width * cinfo.num_components);
buffer[0] = (JSAMPROW) malloc(cinfo.image_width * cinfo.num_components);
if (!buffer[0]) {
RErrorCode = RERR_NOMEMORY;
goto bye;