removed unused functions to set/get internal error messages
[rocksndiamonds.git] / src / libgame / image.c
index 820b966cd9ae1036745082c9942d41aa3cad08a4..1a61ff922ed15ce71d9b734f95e7f7ab80c184ea 100644 (file)
@@ -43,8 +43,7 @@ static void *Load_Image(char *filename)
 
   if ((img_info->bitmaps[IMG_BITMAP_STANDARD] = LoadImage(filename)) == NULL)
   {
-    Warn("cannot load image file '%s': LoadImage() failed: %s",
-        filename, GetError());
+    Warn("cannot load image file '%s': LoadImage() failed", filename);
 
     free(img_info);