Skip to content

Commit

Permalink
Coding - Image_AlienPixMap unused parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
dpasukhi committed Sep 7, 2024
1 parent ed20837 commit acf3f3d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Image/Image_AlienPixMap.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit acf3f3d

Please sign in to comment.