From 2864cb3b59d1e293d3738eebbaf363b4e03d365e Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sat, 9 Nov 2013 12:01:50 +0100 Subject: [PATCH] Silenced a gcc warning in spice backend --- backends/spice/spice.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backends/spice/spice.cc b/backends/spice/spice.cc index 28a91714b..e1a196b8b 100644 --- a/backends/spice/spice.cc +++ b/backends/spice/spice.cc @@ -139,7 +139,7 @@ struct SpiceBackend : public Backend { virtual void execute(FILE *&f, std::string filename, std::vector args, RTLIL::Design *design) { std::string top_module_name; - RTLIL::Module *top_module; + RTLIL::Module *top_module = NULL; bool big_endian = false; std::string neg = "Vss", pos = "Vdd", ncpf = "_NC"; -- 2.30.2