Fix warnings

This commit is contained in:
karri 2022-12-30 15:20:54 +02:00
parent f85951ab24
commit b6d06288e0
2 changed files with 8 additions and 8 deletions

View File

@ -62,10 +62,13 @@ StrBuf* GenLynxPalette (const Bitmap* B, const Collection* A)
*/
{
StrBuf* D;
Palette* P;
const Palette* P = GetBitmapPalette (B);
const char* Format = GetAttrVal(A, "format");
unsigned I;
P = GetBitmapPalette (B);
if (Format == 0) {
/* No format specified */
}
D = NewStrBuf ();
for (I = 0; I < 16; ++I) {

View File

@ -52,15 +52,12 @@
StrBuf* GenLynxPalette (const Bitmap* B, const Collection* A);
/* Generate binary output in Lynx palette format for the bitmap B. The output
* is stored in a string buffer (which is actually a dynamic char array) and
* returned.
*/
** is stored in a string buffer (which is actually a dynamic char array) and
** returned.
*/
/* End of lynxpalette.h */
#endif