From 16020111da90d4317ef45467737d0db8098843de Mon Sep 17 00:00:00 2001 From: Wootak Jung Date: Fri, 30 Jun 2023 08:47:18 +0900 Subject: [PATCH] Fixed the build error using gcc 13 Change-Id: I11ddcfd23d8d0c883b87c530e127a0ec5b8afd0d --- tools/pskey_get.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/pskey_get.c b/tools/pskey_get.c index 6941890..a540aad 100755 --- a/tools/pskey_get.c +++ b/tools/pskey_get.c @@ -218,7 +218,11 @@ static cmd_par_table *bt_cmd_table_match(cmd_par *cmd) int i; cmd_par_table *pTable = NULL; int len = sizeof(g_pskey_table) / sizeof(cmd_par_table); +#ifndef TIZEN_FEATURE_BLUEZ_MODIFY if(NULL == cmd->item) +#else + if (NULL == cmd || NULL == cmd->item) +#endif return NULL; for(i = 0; i < len; i++) { -- 2.7.4