removed unused functions to set/get internal error messages
[rocksndiamonds.git] / src / libgame / image.c
index 6bd09aa3bf1adedb7ed6ba67b4f8e8162d439da8..1a61ff922ed15ce71d9b734f95e7f7ab80c184ea 100644 (file)
@@ -4,7 +4,7 @@
 // (c) 1995-2014 by Artsoft Entertainment
 //                         Holger Schemel
 //                 info@artsoft.org
-//                 http://www.artsoft.org/
+//                 https://www.artsoft.org/
 // ----------------------------------------------------------------------------
 // image.c
 // ============================================================================
@@ -43,8 +43,7 @@ static void *Load_Image(char *filename)
 
   if ((img_info->bitmaps[IMG_BITMAP_STANDARD] = LoadImage(filename)) == NULL)
   {
-    Error(ERR_WARN, "cannot load image file '%s': LoadImage() failed: %s",
-         filename, GetError());
+    Warn("cannot load image file '%s': LoadImage() failed", filename);
 
     free(img_info);