• E
    maint: avoid static zero init in tools · 05853324
    Eric Blake 提交于
    C guarantees that static variables are zero-initialized.  Some older
    compilers (and also gcc -fno-zero-initialized-in-bss) create larger
    binaries if you explicitly zero-initialize a static variable.
    
    * tools/virsh-console.c (got_signal): Drop unused variable.
    * tools/virsh-domain.c: Fix initialization.
    * tools/virsh.c: Likewise.
    * tools/virt-host-validate-common.c (virHostMsgWantEscape):
    Likewise.
    Signed-off-by: NEric Blake <eblake@redhat.com>
    05853324
virsh.c 97.2 KB