]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: No need to check for usage fields during Format
authorJohn Ferlan <jferlan@redhat.com>
Fri, 24 Jun 2016 14:25:15 +0000 (10:25 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 1 Jul 2016 19:38:56 +0000 (15:38 -0400)
commit3977c386f608e5d533f5797132af104cedcc3f9d
tree88735ca4cc0f75ea9ab5ea49900c3103c694f07b
parent47a0866bce7fdb1287ad451b6fec5ae6d27affbc
conf: No need to check for usage fields during Format

Since the virSecretDefParseUsage ensures each of the fields is present,
no need to check during virSecretDefFormatUsage (also virBufferEscapeString
is a no-op with a NULL argument).

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/conf/secret_conf.c