From 699b573b6f6130a792ebf08a78b368b882dd9376 Mon Sep 17 00:00:00 2001 From: Alex Duan <417921451@qq.com> Date: Sat, 22 Oct 2022 16:22:24 +0800 Subject: [PATCH] fix(all): fixed coverity scan problems for second submiting1 --- tools/shell/inc/shellTire.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/shell/inc/shellTire.h b/tools/shell/inc/shellTire.h index b262aa68d8..bdcf7bcfb3 100644 --- a/tools/shell/inc/shellTire.h +++ b/tools/shell/inc/shellTire.h @@ -78,7 +78,7 @@ bool insertWord(STire* tire, char* word); bool deleteWord(STire* tire, char* word); // match prefix words, if match is not NULL , put all item to match and return match -SMatch* matchPrefix(STire* tire, char* prefix, SMatch* match); +void matchPrefix(STire* tire, char* prefix, SMatch* match); // get all items from tires tree SMatch* enumAll(STire* tire);