zreset is no longer pertinent
authormirabilos <t.glaser@tarent.de>
Thu, 25 Jul 2019 22:12:19 +0000 (00:12 +0200)
committermirabilos <mirabilos@evolvis.org>
Thu, 25 Jul 2019 22:12:19 +0000 (00:12 +0200)
image/imagetypes.c

index 4f7cd2b..ec9f0b7 100644 (file)
@@ -46,11 +46,9 @@ Image *loadImage(name, verbose)
   }
   for (a= 0; ImageTypes[a].loader; a++)
     if ((image = ImageTypes[a].loader(fullname, name, verbose))) {
-      zreset(NULL);
       return(image);
     }
   fprintf(stderr, "%s: unknown or unsupported image type\n", fullname);
-  zreset(NULL);
   return(NULL);
 }
 
@@ -71,11 +69,9 @@ void identifyImage(name)
   }
   for (a= 0; ImageTypes[a].identifier; a++) {
     if (ImageTypes[a].identifier(fullname, name)) {
-      zreset(NULL);
       return;
     }
 }
-  zreset(NULL);
   fprintf(stderr, "%s: unknown or unsupported image type\n", fullname);
 }