Skip to content

Stray UT_Stub_SetReturnValue prototype #1109

@skliper

Description

@skliper

Is your feature request related to a problem? Please describe.
Prototype with no implementation here:

void UT_Stub_SetReturnValue(UT_EntryKey_t FuncKey, const void *BufferPtr, size_t BufferSize);

Macro here:

/**
* Macro to simplify use of the UT_Stub_CopyToReturnValue() in a hook/handler context.
* This returns the value stored in the specified variable
*
* \param FuncKey The stub function identifier
* \param ReturnValue The value to return
*/
#define UT_Stub_SetReturnValue(FuncKey, ReturnValue) \
UT_Stub_CopyToReturnValue(FuncKey, &ReturnValue, sizeof(ReturnValue))

Describe the solution you'd like
Remove stray.

Describe alternatives you've considered
None

Additional context
None

Requester Info
Jacob Hageman - NASA/GSFC

Metadata

Metadata

Assignees

No one assigned

    Labels

    unit-testTickets related to the OSAL unit testing (functional and/or coverage)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions