From ad1962892c710d48eea6aeec2db2122834063cac Mon Sep 17 00:00:00 2001 From: anod <182859762@qq.com> Date: Sat, 11 Mar 2023 11:20:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=94=E8=AF=A5=E4=BF=AE=E5=A4=8D=E4=BA=86?= =?UTF-8?q?=E6=84=8F=E5=A4=96=E8=B7=B3=E8=BD=AC=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/arm11/filebrowser.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/source/arm11/filebrowser.c b/source/arm11/filebrowser.c index 1697e46..4388cef 100644 --- a/source/arm11/filebrowser.c +++ b/source/arm11/filebrowser.c @@ -410,7 +410,7 @@ static atp_error_t handle_onoff_entry( acl_entryid_t id, acl_elemlen_t codelen, *item = 1<<16 | id; } - else return res; + return res; } static atp_error_t select_keys( atp_callerdata_t data, atp_counter_t index, atp_itemcfg_t *cfg ) @@ -597,11 +597,7 @@ static atp_pageopt_t serve_on_key( atp_callerdata_t data, atp_counter_t index, a { status = DISP_HOLES; } - else { - char errorstr[64]; - WAIT_ON_ACT( disp_str( ee_snprintf(errorstr, 64, "返回错了:%d", res), 1, NULL ) ); - break; - } + else break; } }