Skip to content

Commit

Permalink
initialise herr_t iRet to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
andy-bridger authored and peterfpeterson committed Jan 17, 2025
1 parent 40dd317 commit 7d200da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Framework/NexusCpp/src/napi5.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,7 @@ NXstatus NX5putattr(NXhandle fid, CONSTCHAR *name, const void *data, int datalen
pNexusFile5 pFile;
hid_t attr1, aid1, aid2;
hid_t type;
herr_t iRet;
herr_t iRet = 0;
hid_t vid, attRet;

pFile = NXI5assert(fid);
Expand Down

0 comments on commit 7d200da

Please sign in to comment.