• Pietro Fezzardi's avatar
    lib/conf.c: fix ARG_NONE, factorize code · cd75d6f0
    Pietro Fezzardi authored
    Every case of the switch was colling the cfg_handler out of the
    switch construct, avery time with the same arguments.
    The only case not calling the config function was case ARG_NONE.
    But this doesn't make sense, because if a configuration option
    does not do anything, then it should not be there, even without
    arguments.
    So the call to config function is now made from every case, even
    ARG_NONE, then it should not stay inside the switch.
    cd75d6f0
Name
Last commit
Last update
arch-bare-i386 Loading commit data...
arch-bare-x86-64 Loading commit data...
arch-unix Loading commit data...
arch-wrpc Loading commit data...
arch-wrs Loading commit data...
configs Loading commit data...
doc Loading commit data...
etc Loading commit data...
include/ppsi Loading commit data...
lib Loading commit data...
lib-bare Loading commit data...
pp_printf Loading commit data...
proto-ext-whiterabbit Loading commit data...
proto-standard Loading commit data...
scripts Loading commit data...
time-bare Loading commit data...
time-unix Loading commit data...
time-wrpc Loading commit data...
time-wrs Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LIB Loading commit data...
Kconfig Loading commit data...
MAKEALL Loading commit data...
Makefile Loading commit data...
Makefile.kconfig Loading commit data...
diag.c Loading commit data...
fsm.c Loading commit data...