Skip to content

apm: fix void function returning a value in apm offload stub#74

Merged
quic-aditrath merged 1 commit intoAudioReach:masterfrom
quic-aditrath:apm_offload_return_type_fix
Apr 9, 2026
Merged

apm: fix void function returning a value in apm offload stub#74
quic-aditrath merged 1 commit intoAudioReach:masterfrom
quic-aditrath:apm_offload_return_type_fix

Conversation

@quic-aditrath
Copy link
Copy Markdown
Contributor

The stub implementation of apm_offload_memory_free() incorrectly returned AR_EOK despite being declared as a void function, causing a compilation error due to a return type mismatch.

Remove the erroneous return statement and replace it with a bare return to match the void return type of the function.

The stub implementation of apm_offload_memory_free() incorrectly
returned AR_EOK despite being declared as a void function, causing
a compilation error due to a return type mismatch.

Remove the erroneous return statement and replace it with a bare
return to match the void return type of the function.

Signed-off-by: Aditya Rathi <aditrath@qti.qualcomm.com>
@quic-aditrath quic-aditrath requested review from a team March 26, 2026 11:49
@quic-aditrath quic-aditrath merged commit 40e03d4 into AudioReach:master Apr 9, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants