Fix bogus return value and let this build with clang 15
This commit is contained in:
parent
feb45f90be
commit
3079f632f4
|
@ -1,7 +1,7 @@
|
|||
COMMENT= GNU Image Manipulation Program
|
||||
|
||||
DISTNAME = gimp-2.10.32
|
||||
REVISION = 2
|
||||
REVISION = 3
|
||||
PKGSPEC = gimp->=2,<2.99
|
||||
|
||||
.for i in gimp gimpbase gimpcolor gimpconfig gimpmath gimpmodule \
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
Fix return value.
|
||||
|
||||
Index: plug-ins/common/file-dicom.c
|
||||
--- plug-ins/common/file-dicom.c.orig
|
||||
+++ plug-ins/common/file-dicom.c
|
||||
@@ -602,7 +602,7 @@ load_image (const gchar *filename,
|
||||
(gchar *) value, samples_per_pixel);
|
||||
g_free (dicominfo);
|
||||
fclose (DICOM);
|
||||
- return NULL;
|
||||
+ return -1;
|
||||
}
|
||||
|
||||
break;
|
Loading…
Reference in New Issue