!531 fix compile warning

Merge pull request !531 from Zhang/master
This commit is contained in:
openharmony_ci
2021-12-28 11:29:06 +00:00
committed by Gitee
2 changed files with 3 additions and 1 deletions
@@ -18,7 +18,6 @@
using namespace testing::ext;
static int g_uartFd;
static const string HDF_TEST_NAME = "/dev/hdf_test";
enum HdfLiteUartTestCmd {
@@ -19,8 +19,11 @@
using namespace testing::ext;
#ifndef __LITEOS__
static const char *OSAL_FW_PATH = "/lib/firmware";
static const int OSAL_FW_PATH_MODE = 0x777;
#endif
#define OSAL_TEST_FUNC_DEFINE(subCmd) do { \
struct HdfTestMsg msg = { TEST_OSAL_ITEM, subCmd, -1 }; \
printf("OSAL test enter cmd:%d\n\r", subCmd); \