From 10f651da350e6818d937624147972e0bf6897221 Mon Sep 17 00:00:00 2001 From: rlar Date: Sun, 2 Jun 2013 17:15:51 +0200 Subject: [PATCH] inpcom.c: MSVC compatibility --- src/frontend/inpcom.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index 5b544d7e0..8fed7a2dd 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -467,11 +467,12 @@ struct line * inp_readall(FILE *fp, char *dir_name, bool comfile, bool intfile) { struct line *cc; + struct inp_read_t rv; num_libraries = 0; inp_compat_mode = ngspice_compat_mode(); - struct inp_read_t rv = inp_read(fp, 0, dir_name, comfile, intfile); + rv = inp_read(fp, 0, dir_name, comfile, intfile); cc = rv . cc; /* The following processing of an input file is not required for command files