提交 1297f07d 编写于 作者: R r00559040

修改格式

Signed-off-by: Nr00559040 <ry.renyi@huawei.com>
上级 10e0f09f
......@@ -32,7 +32,7 @@ static sem_t g_sem;
static string g_testPath;
extern "C" {
void __attribute__((weak)) HOS_SystemInit(void){}
void __attribute__((weak)) HOS_SystemInit(void){}
}
/* callback */
......@@ -52,8 +52,7 @@ static void TestBundleStateCallback(const uint8_t resultCode, const void *result
static string GetCurDir()
{
string filePath = "";
char *buffer;
if (!(buffer = getcwd(NULL, 0))) {
if (!(char *buffer = getcwd(NULL, 0))) {
perror("get file path error");
} else {
printf("Current Dir: %s\r\n", buffer);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册