aboutsummaryrefslogtreecommitdiffstats
path: root/backends/spice
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-11-09 12:01:50 +0100
committerClifford Wolf <clifford@clifford.at>2013-11-09 12:01:50 +0100
commit2864cb3b59d1e293d3738eebbaf363b4e03d365e (patch)
tree65a8a5184bbdc753edc0af0aff01656f61e7029d /backends/spice
parent18f9477e95aa57ce1659de1991117f881fa359bd (diff)
downloadyosys-2864cb3b59d1e293d3738eebbaf363b4e03d365e.tar.gz
yosys-2864cb3b59d1e293d3738eebbaf363b4e03d365e.tar.bz2
yosys-2864cb3b59d1e293d3738eebbaf363b4e03d365e.zip
Silenced a gcc warning in spice backend
Diffstat (limited to 'backends/spice')
-rw-r--r--backends/spice/spice.cc2
1 files changed, 1 insertions, 1 deletions
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<std::string> 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";