Re: [libvirt PATCH 1/4] tools: snapshot: remove pointless checks

2022-04-04 Thread Andrea Bolognani
On Fri, Apr 01, 2022 at 03:27:33PM +0200, Ján Tomko wrote: > There's no need to check whether a flag is not set just to set it > in that case. > > Signed-off-by: Ján Tomko > --- > tools/virsh-snapshot.c | 7 +++ > 1 file changed, 3 insertions(+), 4 deletions(-) For this patch and this patch

[libvirt PATCH 1/4] tools: snapshot: remove pointless checks

2022-04-01 Thread Ján Tomko
There's no need to check whether a flag is not set just to set it in that case. Signed-off-by: Ján Tomko --- tools/virsh-snapshot.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tools/virsh-snapshot.c b/tools/virsh-snapshot.c index 9ed64313af..7cd76f39e2 100644 --- a