projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18f9477
)
Silenced a gcc warning in spice backend
author
Clifford Wolf
<clifford@clifford.at>
Sat, 9 Nov 2013 11:01:50 +0000
(12:01 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Sat, 9 Nov 2013 11:01:50 +0000
(12:01 +0100)
backends/spice/spice.cc
patch
|
blob
|
history
diff --git
a/backends/spice/spice.cc
b/backends/spice/spice.cc
index 28a91714b8cf05e0df8e7944aaa8dbbc62334271..e1a196b8b6df6247c2c4d853d6c1d60fbe67ead6 100644
(file)
--- 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";