diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-01-28 19:09:35 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-01-28 19:09:35 +0000 |
commit | da352544bb9493dbe290167f664807f4cbe50366 (patch) | |
tree | d21f49765202e7d381d04a6501ae2f8aee1d18c3 | |
parent | Add support for ice include search paths (-I like slice2cpp) (diff) | |
download | slicer-da352544bb9493dbe290167f664807f4cbe50366.tar.bz2 slicer-da352544bb9493dbe290167f664807f4cbe50366.tar.xz slicer-da352544bb9493dbe290167f664807f4cbe50366.zip |
Remove unused modules stackslicer-1.0.2
-rw-r--r-- | slicer/slicer/parser.cpp | 3 | ||||
-rw-r--r-- | slicer/slicer/parser.h | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/slicer/slicer/parser.cpp b/slicer/slicer/parser.cpp index 74fc849..825d59b 100644 --- a/slicer/slicer/parser.cpp +++ b/slicer/slicer/parser.cpp @@ -108,8 +108,6 @@ namespace Slicer { bool Slicer::visitModuleStart(const Slice::ModulePtr & m) { - modules.push_back(m); - if (!cpp) return true; fprintf(cpp, "// Begin module %s\n\n", m->name().c_str()); @@ -465,7 +463,6 @@ namespace Slicer { if (cpp) { fprintf(cpp, "// End module %s\n\n", m->name().c_str()); } - modules.pop_back(); } void diff --git a/slicer/slicer/parser.h b/slicer/slicer/parser.h index dca94c0..702393e 100644 --- a/slicer/slicer/parser.h +++ b/slicer/slicer/parser.h @@ -60,7 +60,6 @@ namespace Slicer { unsigned int components; FILE * cpp; - std::vector<Slice::ModulePtr> modules; unsigned int classNo; }; } |