[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] tiny bit of lint
From: |
Larry Doolittle |
Subject: |
Re: [Tinycc-devel] tiny bit of lint |
Date: |
Mon, 8 May 2017 08:34:12 -0700 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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] tiny bit of lint, Larry Doolittle, 2017/05/07
- Re: [Tinycc-devel] tiny bit of lint, Michael Matz, 2017/05/07
- Re: [Tinycc-devel] tiny bit of lint,
Larry Doolittle <=
- Re: [Tinycc-devel] tiny bit of lint, grischka, 2017/05/08
- Re: [Tinycc-devel] tiny bit of lint, Larry Doolittle, 2017/05/08
- Re: [Tinycc-devel] tiny bit of lint, Christian Jullien, 2017/05/09
- Re: [Tinycc-devel] tiny bit of lint, grischka, 2017/05/09
- Re: [Tinycc-devel] tiny bit of lint, Christian Jullien, 2017/05/09
- Re: [Tinycc-devel] tiny bit of lint, Larry Doolittle, 2017/05/09
- Re: [Tinycc-devel] tiny bit of lint, Christian Jullien, 2017/05/09
- Re: [Tinycc-devel] tiny bit of lint, grischka, 2017/05/09
- Re: [Tinycc-devel] tiny bit of lint, Christian Jullien, 2017/05/09
- Re: [Tinycc-devel] tiny bit of lint, Larry Doolittle, 2017/05/09