1.去除编译警告3
This commit is contained in:
parent
9dc28871f1
commit
70e2761173
|
@ -922,6 +922,10 @@ void sf_power_off(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
sf_power_off_statistics();
|
sf_power_off_statistics();
|
||||||
|
|
||||||
|
sf_poweroff_check_lpa_excute_cmd();
|
||||||
|
|
||||||
|
sf_poweroff_check_lpa_enable_profile();
|
||||||
|
|
||||||
sf_power_off_check_sms();
|
sf_power_off_check_sms();
|
||||||
|
|
||||||
|
|
|
@ -69,7 +69,7 @@ SINT32 debug_cmd_parse(SF_CHAR *pString)
|
||||||
return SF_FAILURE;
|
return SF_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
s32ret = stDebugCmdArray[index].pfn_debug_cmd_exe(argc,pargv);
|
s32ret = stDebugCmdArray[index].pfn_debug_cmd_exe(argc,(char ***)pargv);
|
||||||
|
|
||||||
return s32ret;
|
return s32ret;
|
||||||
|
|
||||||
|
|
|
@ -255,11 +255,11 @@ static gboolean chr_get_value(const GDBusPropertyTable *property,
|
||||||
unsigned int len = chr->vlen;
|
unsigned int len = chr->vlen;
|
||||||
unsigned char *resp = NULL;
|
unsigned char *resp = NULL;
|
||||||
unsigned int resp_len = 0;
|
unsigned int resp_len = 0;
|
||||||
int ret = -1;
|
//int ret = -1;
|
||||||
|
|
||||||
if (NULL != gst_sf_write_cb)
|
if (NULL != gst_sf_write_cb)
|
||||||
{
|
{
|
||||||
ret = gst_sf_write_cb(p, len, &resp, &resp_len);
|
gst_sf_write_cb(p, len, &resp, &resp_len);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (access("/misc/debug1", F_OK) == 0)
|
if (access("/misc/debug1", F_OK) == 0)
|
||||||
|
@ -285,7 +285,7 @@ static gboolean chr_get_value(const GDBusPropertyTable *property,
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("resp, len:%d.\n", resp_len);
|
printf("resp, len:%d.\n", resp_len);
|
||||||
for (int i = 0; i < resp_len; i++)
|
for (unsigned int i = 0; i < resp_len; i++)
|
||||||
printf("%02x ", resp[i]);
|
printf("%02x ", resp[i]);
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user