mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-08-22 13:57:32 +02:00
prevent potential false reads if 'controlswait' is set.
This commit is contained in:
@@ -443,8 +443,6 @@ void
|
|||||||
exec_controls(wordlist *newcontrols)
|
exec_controls(wordlist *newcontrols)
|
||||||
{
|
{
|
||||||
if (newcontrols) {
|
if (newcontrols) {
|
||||||
if (shcontrols)
|
|
||||||
wl_free(shcontrols);
|
|
||||||
shcontrols = newcontrols;
|
shcontrols = newcontrols;
|
||||||
}
|
}
|
||||||
#ifdef THREADS
|
#ifdef THREADS
|
||||||
|
|||||||
Reference in New Issue
Block a user