Skip to content

Commit

Permalink
Fix nasa#777, Static allocation of DummyVec in OSC_INUM_TO_IVEC stub
Browse files Browse the repository at this point in the history
  • Loading branch information
skliper committed Feb 9, 2021
1 parent 09a2c5e commit a51fc93
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/unit-test-coverage/ut-stubs/src/vxworks-intLib-stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ static void OCS_intLib_dummyfunc(void) {}

OCS_VOIDFUNCPTR *OCS_INUM_TO_IVEC(unsigned int ui)
{
int32 Status = UT_DEFAULT_IMPL(OCS_INUM_TO_IVEC);
OCS_VOIDFUNCPTR *VecTbl;
OCS_VOIDFUNCPTR DummyVec;
size_t VecTblSize;
int32 Status = UT_DEFAULT_IMPL(OCS_INUM_TO_IVEC);
OCS_VOIDFUNCPTR *VecTbl;
static OCS_VOIDFUNCPTR DummyVec;
size_t VecTblSize;

if (Status == 0)
{
Expand Down

0 comments on commit a51fc93

Please sign in to comment.