[libvirt] [PATCH 3/4] conf: snapshot: Refactor virDomainSnapshotDefAssignExternalNames

2016-02-11 Thread Peter Krempa
Get rid of one indentation level by negating condition and remove ugly pointer arithmetic at the cost of one extra allocation. --- src/conf/snapshot_conf.c | 94 +++- 1 file changed, 44 insertions(+), 50 deletions(-) diff --git

Re: [libvirt] [PATCH 3/4] conf: snapshot: Refactor virDomainSnapshotDefAssignExternalNames

2016-02-11 Thread Erik Skultety
On 11/02/16 10:20, Peter Krempa wrote: > Get rid of one indentation level by negating condition and remove ugly > pointer arithmetic at the cost of one extra allocation. > --- > src/conf/snapshot_conf.c | 94 > +++- > 1 file changed, 44 insertions(+),