mirror of https://gitee.com/openkylin/libvirt.git
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…
Reference in New Issue