mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-14 07:33:44 +01:00
Fix -Wmissing-braces clang warning
This commit is contained in:
parent
cb5b8da77b
commit
b057411eea
@ -210,7 +210,7 @@ void HandlePngToGbaCommand(char *inputPath, char *outputPath, int argc, char **a
|
|||||||
|
|
||||||
void HandlePngToJascPaletteCommand(char *inputPath, char *outputPath, int argc UNUSED, char **argv UNUSED)
|
void HandlePngToJascPaletteCommand(char *inputPath, char *outputPath, int argc UNUSED, char **argv UNUSED)
|
||||||
{
|
{
|
||||||
struct Palette palette = {0};
|
struct Palette palette = {};
|
||||||
|
|
||||||
ReadPngPalette(inputPath, &palette);
|
ReadPngPalette(inputPath, &palette);
|
||||||
WriteJascPalette(outputPath, &palette);
|
WriteJascPalette(outputPath, &palette);
|
||||||
@ -218,7 +218,7 @@ void HandlePngToJascPaletteCommand(char *inputPath, char *outputPath, int argc U
|
|||||||
|
|
||||||
void HandlePngToGbaPaletteCommand(char *inputPath, char *outputPath, int argc UNUSED, char **argv UNUSED)
|
void HandlePngToGbaPaletteCommand(char *inputPath, char *outputPath, int argc UNUSED, char **argv UNUSED)
|
||||||
{
|
{
|
||||||
struct Palette palette = {0};
|
struct Palette palette = {};
|
||||||
|
|
||||||
ReadPngPalette(inputPath, &palette);
|
ReadPngPalette(inputPath, &palette);
|
||||||
WriteGbaPalette(outputPath, &palette);
|
WriteGbaPalette(outputPath, &palette);
|
||||||
@ -226,7 +226,7 @@ void HandlePngToGbaPaletteCommand(char *inputPath, char *outputPath, int argc UN
|
|||||||
|
|
||||||
void HandleGbaToJascPaletteCommand(char *inputPath, char *outputPath, int argc UNUSED, char **argv UNUSED)
|
void HandleGbaToJascPaletteCommand(char *inputPath, char *outputPath, int argc UNUSED, char **argv UNUSED)
|
||||||
{
|
{
|
||||||
struct Palette palette = {0};
|
struct Palette palette = {};
|
||||||
|
|
||||||
ReadGbaPalette(inputPath, &palette);
|
ReadGbaPalette(inputPath, &palette);
|
||||||
WriteJascPalette(outputPath, &palette);
|
WriteJascPalette(outputPath, &palette);
|
||||||
@ -259,7 +259,7 @@ void HandleJascToGbaPaletteCommand(char *inputPath, char *outputPath, int argc,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
struct Palette palette = {0};
|
struct Palette palette = {};
|
||||||
|
|
||||||
ReadJascPalette(inputPath, &palette);
|
ReadJascPalette(inputPath, &palette);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user