]> OCCT Git - occt.git/commitdiff
Coding - Image_AlienPixMap unused parameters
authordpasukhi <dpasukhi@opencascade.com>
Sat, 7 Sep 2024 08:51:11 +0000 (08:51 +0000)
committerdpasukhi <dpasukhi@opencascade.com>
Sat, 14 Sep 2024 11:01:10 +0000 (11:01 +0000)
src/Image/Image_AlienPixMap.cxx

index 3ee7570e5cbc77b8a682271364409f458c490ce6..a2b7f2d1566ac41d2b807d1a72d946072744e3dd 100644 (file)
@@ -1251,6 +1251,7 @@ bool Image_AlienPixMap::Save (Standard_Byte* theBuffer,
   }
   return true;
 #else
+  (void)theLength;
   if (theBuffer != NULL)
   {
     Message::SendFail ("Error: no image library available");
@@ -1450,6 +1451,8 @@ bool Image_AlienPixMap::Save (std::ostream& theStream, const TCollection_AsciiSt
   }
   return true;
 #else
+  (void)theExtension;
+  (void)theStream;
   Message::SendFail ("Error: no image library available");
   return false;
 #endif