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:
Ján Tomko 2021-12-03 16:23:49 +01:00
parent 85e4a13c3f
commit 38929464c5
1 changed files with 0 additions and 1 deletions

View File

@ -53,7 +53,6 @@ libxlLoggerFileFree(void *payload)
{
FILE *file = payload;
VIR_FORCE_FCLOSE(file);
file = NULL;
}
G_GNUC_PRINTF(5, 0) static void