diff --git a/frameworks/datatransmitmgr/dev_slinfo_list.c b/frameworks/datatransmitmgr/dev_slinfo_list.c index 165d744f25b754024a7c38bed5bacf7a7e213629..0b8086e21bdc3298ff39de924f9ec6b5dfb27e69 100644 --- a/frameworks/datatransmitmgr/dev_slinfo_list.c +++ b/frameworks/datatransmitmgr/dev_slinfo_list.c @@ -14,8 +14,10 @@ */ #include "dev_slinfo_list.h" + #include #include "securec.h" + #include "dev_slinfo_adpt.h" #include "dev_slinfo_log.h" @@ -153,8 +155,7 @@ void LookupCallback(struct DATASLListParams *list, DEVSLQueryParams *queryParams int32_t InitPthreadMutex(void) { - int32_t ret; - ret = pthread_mutex_init(&g_mutex, NULL); + int32_t ret = pthread_mutex_init(&g_mutex, NULL); return ret; }