load_jpeg.c Removed dead code
commit090b761fde79b5523b3d7b002704e013775524c5
authorRodolfo García Peñas (kix) <kix@kix.es>
Wed, 19 Jun 2019 22:40:10 +0000 (20 00:40 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Thu, 20 Jun 2019 21:04:31 +0000 (20 22:04 +0100)
treea63d9c75246684501e2b783e5b89ec7e54f170cd
parent49db946aa2a22de6e87fd602e74e3fa3d7666eee
load_jpeg.c Removed dead code

This patch removes the code not used. Because the if block
check that buffer[0] is NULL, then, we don't need check it
again inside.

Image is not used yet, so is NULL. We can return NULL.

Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
wrlib/load_jpeg.c