diff options
Diffstat (limited to 'src/util/virqemu.c')
-rw-r--r-- | src/util/virqemu.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/util/virqemu.c b/src/util/virqemu.c index aef6006dd7..8ff61b22b0 100644 --- a/src/util/virqemu.c +++ b/src/util/virqemu.c @@ -70,8 +70,7 @@ virQEMUBuildCommandLineJSONArrayBitmap(const char *key, if (virJSONValueGetNumberUlong(member, &value) < 0) return -1; - if (virBitmapSetBitExpand(bitmap, value) < 0) - return -1; + virBitmapSetBitExpand(bitmap, value); } while ((pos = virBitmapNextSetBit(bitmap, pos)) > -1) { |