From 2f31bd5c2abe2bd4ade3196dbeb2066d2b959cab Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Thu, 2 Apr 2020 19:57:58 +0200 Subject: [PATCH] avoid compiler warning --- src/sharedspice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sharedspice.c b/src/sharedspice.c index 673c92e70..8b36f2fb3 100644 --- a/src/sharedspice.c +++ b/src/sharedspice.c @@ -678,7 +678,7 @@ int ngSpice_Init(SendChar* printfcn, SendStat* statusfcn, ControlledExit* ngspiceexit, SendData* sdata, SendInitData* sinitdata, BGThreadRunning* bgtrun, void* userData) { - sighandler old_sigsegv; + sighandler old_sigsegv = NULL; pfcn = printfcn; /* if caller sends NULL, don't send printf strings */