Skip to content

Commit f1d5abd

Browse files
committed
fix CI warning
1 parent ae11dfb commit f1d5abd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src_c/window.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
#include "doc/sdl2_video_doc.h"
88

9+
#ifndef PYGAMEAPI_DISPLAY_INTERNAL // to pass the static check
910
// Copied from display.c
1011
#if !defined(__APPLE__)
1112
static char *icon_defaultname = "pygame_icon.bmp";
@@ -92,6 +93,8 @@ pg_display_resource(char *filename)
9293
return result;
9394
}
9495

96+
#endif // PYGAMEAPI_DISPLAY_INTERNAL
97+
9598
static PyTypeObject pgWindow_Type;
9699

97100
#define pgWindow_Check(x) \

0 commit comments

Comments
 (0)