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; } }