[PATCH 04/12] virSecurityLabelDefParseXML: Don't reuse temporary string 'p'
Ján Tomko
jtomko at redhat.com
Tue Nov 23 14:28:15 UTC 2021
On a Monday in 2021, Peter Krempa wrote:
>Use separate variables for 'model' and 'relabel' properties.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/conf/domain_conf.c | 20 ++++++++------------
> src/util/virseclabel.h | 1 +
> 2 files changed, 9 insertions(+), 12 deletions(-)
>
>diff --git a/src/util/virseclabel.h b/src/util/virseclabel.h
>index eca4d09d24..7e62f8a2e2 100644
>--- a/src/util/virseclabel.h
>+++ b/src/util/virseclabel.h
>@@ -43,6 +43,7 @@ struct _virSecurityLabelDef {
> };
>
>
>+
Without this suspicious empty line:
Reviewed-by: Ján Tomko <jtomko at redhat.com>
Jano
> /* Security configuration for device */
> typedef struct _virSecurityDeviceLabelDef virSecurityDeviceLabelDef;
> struct _virSecurityDeviceLabelDef {
>--
>2.31.1
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20211123/962f0aba/attachment-0001.sig>
More information about the libvir-list
mailing list