mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +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:
committed by
Carlos R. Mafra
parent
1c6d0f38ef
commit
1b69c49fb2
@@ -136,7 +136,8 @@ RImage *RLoadJPEG(const char *file_name)
|
|||||||
goto bye;
|
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]) {
|
if (!buffer[0]) {
|
||||||
RErrorCode = RERR_NOMEMORY;
|
RErrorCode = RERR_NOMEMORY;
|
||||||
goto bye;
|
goto bye;
|
||||||
|
|||||||
Reference in New Issue
Block a user