From fca075e1edae4cfb4d983a6f006658ccafd999bf Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Wed, 26 Oct 2016 21:20:42 -0400 Subject: [PATCH] Disabled the newest unfinished experimental code, which was not supposed to have been pushed to git yet. --- base/netgen.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/base/netgen.c b/base/netgen.c index e439a10..a1a5ecb 100644 --- a/base/netgen.c +++ b/base/netgen.c @@ -3051,6 +3051,9 @@ void CombineSerial(char *model, int file) int i, j; struct valuelist *kv; + // Work in progress. . . + return; + if ((tp = LookupCellFile(model, file)) == NULL) { Printf("Cell: %s does not exist.\n", model); return; @@ -3138,7 +3141,8 @@ void CombineSerial(char *model, int file) nob->type = PROPERTY; nob->name = strsave("properties"); nob->node = -2; /* Don't report as disconnected node */ - nob->model.class = strsave(obp->model.class); + nob->model.class = (obp->model.class == NULL) ? NULL : + strsave(obp->model.class); nob->instance.props = NewPropValue(2); /* Create property record for property "S" */