Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d511ca6

Browse filesBrowse files
committed
Avoid "empty structure" compile error.
1 parent f447ce4 commit d511ca6
Copy full SHA for d511ca6

File tree

1 file changed

+2
-2
lines changed
Filter options

1 file changed

+2
-2
lines changed

‎Objects/typeobject.c

Copy file name to clipboardExpand all lines: Objects/typeobject.c
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3795,8 +3795,8 @@ apply_slot_updates(slot_update_t *updates)
37953795

37963796
#else
37973797

3798-
// not used, slot updates are applied immediately
3799-
typedef struct {} slot_update_t;
3798+
// dummy definition, this parameter is only NULL in the default build
3799+
typedef void slot_update_t;
38003800

38013801
#endif
38023802

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.