mirror of
https://github.com/cc65/cc65.git
synced 2024-11-18 00:07:21 +00:00
Fix warnings
This commit is contained in:
parent
f85951ab24
commit
b6d06288e0
@ -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) {
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user