Fix build error using gcc 13 87/295087/1 accepted/tizen/unified/dev/20230726.115529
authorWootak Jung <wootak.jung@samsung.com>
Mon, 3 Jul 2023 01:18:47 +0000 (10:18 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Mon, 3 Jul 2023 01:18:47 +0000 (10:18 +0900)
Change-Id: I66167a2f197d294d241d27799c259bda47bf6bda
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
tools/pskey_get.c

index a540aad..17d62be 100755 (executable)
@@ -221,7 +221,7 @@ static cmd_par_table *bt_cmd_table_match(cmd_par *cmd)
 #ifndef TIZEN_FEATURE_BLUEZ_MODIFY
        if(NULL == cmd->item)
 #else
-       if (NULL == cmd || NULL == cmd->item)
+       if (NULL == cmd)
 #endif
                return NULL;
        for(i = 0; i < len; i++)