• M
    qemuBuildNumaArgStr: Discard def->cpu check · de31dcc8
    Michal Privoznik 提交于
    In the function at one place we check if def->cpu is NULL prior
    to accessing def->cpu->ncells. Then, later in the code,
    def->cpu->ncells is accessed directly, without the check. This
    makes coverity unhappy, because the first check makes it think
    def->cpu can be NULL. However, the function is not called if
    def->cpu is NULL. Therefore, remove the first check and hopefully
    make coverity cheer again.
    Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
    de31dcc8
qemu_command.c 426.6 KB