Fix build 22/259922/2 accepted/tizen_6.5_unified tizen_6.5 accepted/tizen/6.5/unified/20211028.115827 accepted/tizen/unified/20210617.124903 submit/tizen/20210617.020614 submit/tizen_6.5/20211028.162501 tizen_6.5.m2_release
authorDongkyun Son <dongkyun.s@samsung.com>
Wed, 16 Jun 2021 12:51:20 +0000 (21:51 +0900)
committerDongkyun Son <dongkyun.s@samsung.com>
Wed, 16 Jun 2021 14:21:18 +0000 (23:21 +0900)
error: assignment to expression with array type

Change-Id: I9dddcf9e4a776c632958cf58c9273bf56b9a5c94
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
ui_viewer/ui_viewer_utils.c

index 462a7e1..4c43656 100644 (file)
@@ -265,7 +265,7 @@ bool print_log_str(int msgType, char *str)
                return false;
 
        log.type = msgType;
-       log.data = NULL;
+       log.data[0] = '\0';
        if (str != NULL)
                log.length = snprintf(log.data, sizeof(log.data), str);
        else