]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: storageBackendWipeLocal: reduce variable scope
authorJán Tomko <jtomko@redhat.com>
Wed, 23 Sep 2020 17:48:19 +0000 (19:48 +0200)
committerJán Tomko <jtomko@redhat.com>
Thu, 24 Sep 2020 09:19:06 +0000 (11:19 +0200)
commit3a983573fb493a5005f5cce5ceb7d4be666f6071
treef539bb1414223f8613266f85a7fe9aef55a05f10
parent327580ff6bf365178cfb1b1869606f506481ba3a
storage: storageBackendWipeLocal: reduce variable scope

Also use MIN instead of open-coding it.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
src/storage/storage_util.c