• Arnaud Lacombe's avatar
    kconfig/conf: reduce the scope of `defconfig_file' · 275744cc
    Arnaud Lacombe authored
    This variable is not used outside of main() so there is not much reason keeping
    it global. Ensure it is initialized as gcc has no way to know that normal
    execution path expect only one option switch to be given on the command line
    (except when we request help). As a result, we always initialize
    `defconfig_file' before using it.
    Signed-off-by: default avatarArnaud Lacombe <lacombar@gmail.com>
    275744cc
conf.c 13.3 KB