Skip to content

Commit b53674e

Browse files
Merge pull request #38615 from peterfpeterson/napi_systemtest_bug_ornlnext
Ensure variable is initialised in Nexus code - ornl-next
2 parents 40dd317 + 7d200da commit b53674e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Framework/NexusCpp/src/napi5.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,7 @@ NXstatus NX5putattr(NXhandle fid, CONSTCHAR *name, const void *data, int datalen
10511051
pNexusFile5 pFile;
10521052
hid_t attr1, aid1, aid2;
10531053
hid_t type;
1054-
herr_t iRet;
1054+
herr_t iRet = 0;
10551055
hid_t vid, attRet;
10561056

10571057
pFile = NXI5assert(fid);

0 commit comments

Comments
 (0)