From 18480278921746c16628dcc9efde2ae4dc467d4a Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 12 Feb 2025 11:13:15 +0100 Subject: [PATCH] xfree86: xf86configure: use NULL instead of 0 Zero pointers should be initialized w/ NULL instead of raw 0. Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- hw/xfree86/common/xf86Configure.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xfree86/common/xf86Configure.c b/hw/xfree86/common/xf86Configure.c index 33e244ccd..74936a5bd 100644 --- a/hw/xfree86/common/xf86Configure.c +++ b/hw/xfree86/common/xf86Configure.c @@ -848,7 +848,7 @@ DoShowOptions(void) int i = 0; const char **vlist = NULL; char *pSymbol = 0; - XF86ModuleData *initData = 0; + XF86ModuleData *initData = NULL; if (!(vlist = GenerateDriverList())) { ErrorF("Missing output drivers\n");