Hallo Denys!
> /* print help */
> if (line[1] == '\n') {
> help = nohelp_text;
> if (menu->sym->help)
> help = menu->sym->help;
> printf("\n%s\n", menu->sym->help);
> def = NULL;
> break;
> Above, variable "help" is not used and can be deleted.
Shouldn't this be ... ?
printf( "\n%s\n", help );
or may be better ... ?
printf("\n%s\n", menu->sym->help ? menu->sym->help : nohelp_text );
--
Harald
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox