mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
libxl: libxlLoggerFileFree: remove redundant NULL assignment
The 'file' pointer is already zeroed in virFileFclose and never read again. Signed-off-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
85e4a13c3f
commit
38929464c5
@ -53,7 +53,6 @@ libxlLoggerFileFree(void *payload)
|
||||
{
|
||||
FILE *file = payload;
|
||||
VIR_FORCE_FCLOSE(file);
|
||||
file = NULL;
|
||||
}
|
||||
|
||||
G_GNUC_PRINTF(5, 0) static void
|
||||
|
Loading…
x
Reference in New Issue
Block a user