Michael -

On Mon, May 08, 2017 at 05:40:38AM +0200, Michael Matz wrote:
> On Sun, 7 May 2017, Larry Doolittle wrote:
> >Using gcc's -Wextra, I found 17 "unused parameter",
> If the silencing really should happen (e.g. by void casting, as you
> say) I have no big opinion on.  I'd like to look at the possible
> cleanup for internal functions first, though.

I committed (to mob) one patch that should count as progress.
Commit message:
    Remove some unused-parameter lint
    
    Mark TCCState parameter as unused in tcc_undefine_symbol(), 
tcc_add_symbol(),
    tcc_print_stats(), asm_get_local_label_name(), use_section1(), 
tccpp_delete(),
    tcc_tool_ar(), tcc_tool_impdef(), and tcc_tool_cross().
    Also mark it unused in tcc_add_bcheck() unless CONFIG_TCC_BCHECK.
    Remove it entirely in ld_next().

I'm open to comments.

  - Larry

_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to