Skip to content

Commit

Permalink
#1966 Call clear() instead of reset memory for Header variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Howard Soh committed Jan 25, 2022
1 parent 6b9b411 commit b606312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion met/src/libcode/vx_gis/dbf_file.cc
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ if ( fd >= 0 ) ::close(fd);

fd = -1;

memset(&Header, 0, sizeof(Header));
Header.clear();

Filename.clear();

Expand Down

0 comments on commit b606312

Please sign in to comment.