Skip to content

Commit

Permalink
Fix compiler warning (unused local constant)
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Mar 5, 2024
1 parent 61c09b2 commit 0dd70c7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion prog/blend2_reg.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,11 @@
#include "allheaders.h"

/* In case libpng is not enabled */
#if defined(HAVE_LIBPNG)
static const char fname_png[64] = "/tmp/lept/regout/blend2.14.png";
#else
static const char fname_bmp[64] = "/tmp/lept/regout/blend2.14.bmp";

#endif

int main(int argc,
char **argv)
Expand Down

0 comments on commit 0dd70c7

Please sign in to comment.