summaryrefslogtreecommitdiff
path: root/backends/spice/spice.cc
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/spice.cc
parent18f9477e95aa57ce1659de1991117f881fa359bd (diff)
Silenced a gcc warning in spice backend
Diffstat (limited to 'backends/spice/spice.cc')
-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 28a91714..e1a196b8 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";