error: this 'if' clause does not guard... [-Werror=misleading-indentation]时间:2022-02-26 20:13:02解决办法就是if语句的下面加{} 报错的 if (!pMem) return LOS_NOK; 修改后 if (!pMem) { return LOS_NOK; }