From: Clifford Wolf Date: Sat, 9 Nov 2013 11:01:50 +0000 (+0100) Subject: Silenced a gcc warning in spice backend X-Git-Tag: yosys-0.2.0~376 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;ds=sidebyside;h=2864cb3b59d1e293d3738eebbaf363b4e03d365e;p=yosys.git Silenced a gcc warning in spice backend --- 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";