diff --git a/components/power/los_pm.c b/components/power/los_pm.c index 622f60f4998e8de39ce6b7678f9853749287268a..a9c1c1e76f19cb115a2d15c8e69b6f2cd0be5602 100644 --- a/components/power/los_pm.c +++ b/components/power/los_pm.c @@ -167,7 +167,7 @@ STATIC Suspend OsPmCpuSuspend(LosPmCB *pm) STATIC UINT32 OsPmSuspendSleep(LosPmCB *pm) { - UINT32 ret; + UINT32 ret = LOS_OK; UINT32 intSave; LOS_SysSleepEnum mode; Suspend sysSuspend = NULL;