]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Cleanup useless flags specifications
authorMartin Kletzander <mkletzan@redhat.com>
Tue, 12 Mar 2013 15:35:30 +0000 (16:35 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Fri, 15 Mar 2013 14:05:45 +0000 (15:05 +0100)
commit73cc87d161d9d5d7542379d86e49542224fd8b07
treef6451992cb0635b119201ae0ed268bc910feca6f
parent66f1bbc35012b36d7af82dec9fa956b84b4ba8e9
Cleanup useless flags specifications

After we switched to C99 initialization, I noticed there were many
places where the specification of .flags parameter differed.  After
going through many options and deciding whether to unify the
initialization to be '.flags = 0' or '.flags = VSH_OFLAG_NONE', I
realized both can be removed and it makes the code easier to go
through.
tools/virsh-domain-monitor.c
tools/virsh-domain.c
tools/virsh-host.c
tools/virsh-interface.c
tools/virsh-network.c
tools/virsh-nodedev.c
tools/virsh-pool.c
tools/virsh-secret.c
tools/virsh-snapshot.c
tools/virsh-volume.c
tools/virsh.c