Board index » cppbuilder » bad C++ Warning on BDS2006
SD
CBuilder Developer |
bad C++ Warning on BDS20062006-11-15 04:01:11 PM cppbuilder84 Hi to all, when I compile my program in Release mode I obtain always a wrong compiler Warning which I don't understand: // process colors and dithering if (FPalette != NULL && FPalette->ColorCount != 0) { Graphics::TBitmap* Bitmap = new Graphics::TBitmap; Bitmap = ReduceColors ( FImage->Bitmap, rmPalette, TDitherMode(ImageInfo->DitheringMode), Ceil(Log10(FPalette->ColorCount) / Log10(2)), FPalette->HPalette ); ConvertBitmapTo24BPP(Bitmap); FImage->Bitmap->Assign(Bitmap); delete Bitmap; } [C++ Warning] ImageMan.cpp(536): W8004 'Bitmap' is assigned a value that is never used What's happend ? Can you suggest me something about ? Thank you very much... -- Silverio, SiD Vicenza - Italy Yahoo Messanger: SiDorDiS |