Fix warnings
This commit is contained in:
@@ -62,10 +62,13 @@ StrBuf* GenLynxPalette (const Bitmap* B, const Collection* A)
|
|||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
StrBuf* D;
|
StrBuf* D;
|
||||||
Palette* P;
|
const Palette* P = GetBitmapPalette (B);
|
||||||
|
const char* Format = GetAttrVal(A, "format");
|
||||||
unsigned I;
|
unsigned I;
|
||||||
|
|
||||||
P = GetBitmapPalette (B);
|
if (Format == 0) {
|
||||||
|
/* No format specified */
|
||||||
|
}
|
||||||
D = NewStrBuf ();
|
D = NewStrBuf ();
|
||||||
for (I = 0; I < 16; ++I) {
|
for (I = 0; I < 16; ++I) {
|
||||||
|
|
||||||
|
|||||||
@@ -52,15 +52,12 @@
|
|||||||
|
|
||||||
StrBuf* GenLynxPalette (const Bitmap* B, const Collection* A);
|
StrBuf* GenLynxPalette (const Bitmap* B, const Collection* A);
|
||||||
/* Generate binary output in Lynx palette format for the bitmap B. The output
|
/* 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
|
** is stored in a string buffer (which is actually a dynamic char array) and
|
||||||
* returned.
|
** returned.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* End of lynxpalette.h */
|
/* End of lynxpalette.h */
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user