just seen a warning I didn't notice before
Cristian Ionescu-Idbohrn
cristian.ionescu-idbohrn at axis.com
Sun Jun 8 17:42:03 UTC 2008
Showing up with 'make {menu,old}config':
HOSTCC scripts/kconfig/zconf.tab.o
scripts/kconfig/lex.zconf.c:1609: warning: 'input' defined but not used
HOSTLD scripts/kconfig/conf
Have no clue as how to sort that out. May be unimportant. Still, looking
at the preprocessed code, that point is never reached:
,----
| static int input (void)
| {
| int c;
|
| *(yy_c_buf_p) = (yy_hold_char);
|
| if ( *(yy_c_buf_p) == 0 )
| {
| if ( (yy_c_buf_p) < &(yy_buffer_stack)[(yy_buffer_stack_top)]->yy_ch_buf[(yy_n_chars)] )
|
| *(yy_c_buf_p) = '\0';
|
| else
| {
| int offset = (yy_c_buf_p) - (zconftext);
| ++(yy_c_buf_p);
|
| switch ( yy_get_next_buffer( ) )
| {
| case 2:
| # 1643 "scripts/kconfig/lex.zconf.c"
| zconfrestart(zconfin );
|
| case 1:
| {
| -> if ( 1 )
| -> return (-1);
|
| if ( ! (yy_did_buffer_switch_on_eof) )
| zconfrestart(zconfin );
|
| -> return input();
| }
|
| case 0:
| (yy_c_buf_p) = (zconftext) + offset;
| break;
| }
| }
| }
|
| c = *(unsigned char *) (yy_c_buf_p);
| *(yy_c_buf_p) = '\0';
| (yy_hold_char) = *++(yy_c_buf_p);
|
| return c;
| }
`----
Cheers,
--
Cristian
More information about the busybox
mailing list