From ed8221afdeba2cfea7466d266c4a33ce08aae2cb Mon Sep 17 00:00:00 2001 From: Jim Monte Date: Sat, 25 Apr 2020 19:42:53 +0200 Subject: [PATCH] Initialize pointer --- src/xspice/icm/dlmain.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/xspice/icm/dlmain.c b/src/xspice/icm/dlmain.c index 93afe745e..ce9f79292 100644 --- a/src/xspice/icm/dlmain.c +++ b/src/xspice/icm/dlmain.c @@ -40,8 +40,9 @@ Evt_Udn_Info_t *cmEVTudns[] = { int cmEVTudnCNT = sizeof(cmEVTudns)/sizeof(Evt_Udn_Info_t *)-1; -// Pointer to core info structure containing pointers to core functions. -struct coreInfo_t *coreitf; +/* Instantiation of pointer to core info structure containing pointers + * to core functions. */ +struct coreInfo_t *coreitf = (struct coreInfo_t *) NULL; ////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////