Skip to content

Commit c4b7edd

Browse files
committed
Removing potentially sketchy explicit zero init
of an _Atomic qualified struct/union.
1 parent 5c01b36 commit c4b7edd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/undef-pass/j042.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
_Atomic struct s {
22
int x;
3-
} s = { 0 };
3+
} s;
44

55
_Atomic union u {
66
int x;
7-
} u = { 0 };
7+
} u;
88

99
int main(void) {
1010
struct s t = s;

0 commit comments

Comments
 (0)