author | Marc Fournier <marc.fournier@camptocamp.com> | |
Wed, 20 Jan 2016 08:47:31 +0000 (09:47 +0100) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Wed, 20 Jan 2016 08:47:31 +0000 (09:47 +0100) | ||
commit | 376667a354fe85443c5214e2039d71a13f4fdebd | |
tree | 445b093d0cd900105c25ce81f9ddf9302c662929 | tree | snapshot |
parent | a8700539e4131ae20af1462d1e6c6ec38a266577 | commit | diff |
virt plugin: make indentation explicit
Fixes this warning raised by gcc-6's new "misleading-indentation"
option:
```
virt.c: In function 'lv_init':
virt.c:331:2: error: statement is indented as if it were guarded by... [-Werror=misleading-indentation]
return 0;
^~~~~~
virt.c:328:5: note: ...this 'if' clause, but it is not
if (virInitialize () != 0)
^~
```
Fixes this warning raised by gcc-6's new "misleading-indentation"
option:
```
virt.c: In function 'lv_init':
virt.c:331:2: error: statement is indented as if it were guarded by... [-Werror=misleading-indentation]
return 0;
^~~~~~
virt.c:328:5: note: ...this 'if' clause, but it is not
if (virInitialize () != 0)
^~
```
src/libvirt.c | diff | blob | history |