This repository has been archived by the owner on Aug 20, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sensor_smcf_drv/unit_test: Fix compiler error
On gcc 13.2.0 the following error is flagged: storing the address of local variable ‘data_api’ in ‘sensor_smcf_drv_ctx.data_api’ [-Werror=dangling-pointer=]. Storing a local pointer in a global variable should be avoided. Signed-off-by: Tarek El-Sherbiny <[email protected]>
- Loading branch information