Skip to content

Commit a60c9af

Browse files
committed
fix: ensure event is initialized (should probably have better safeguards about this) gh-11
1 parent c62fd76 commit a60c9af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ int events_main(const char *filename, bool verbose) {
212212
return EXIT_FAILURE;
213213
}
214214

215-
asdf_event_t event;
215+
asdf_event_t event = {0};
216216

217217
while (asdf_event_iterate(&parser, &event) == 0) {
218218
asdf_event_print(&event, stdout, verbose);

0 commit comments

Comments
 (0)