diff options
author | Josh Blum | 2012-12-16 02:11:41 -0800 |
---|---|---|
committer | Josh Blum | 2012-12-16 02:11:41 -0800 |
commit | 0865d999f90755cf624f1b4798d74c0376048989 (patch) | |
tree | 7811b8b55763833841d6d861693ca232dd895205 /lib/block.cpp | |
parent | 36b746eb1c43068b999fa56d52aa0d8994dd6ef9 (diff) | |
download | sandhi-0865d999f90755cf624f1b4798d74c0376048989.tar.gz sandhi-0865d999f90755cf624f1b4798d74c0376048989.tar.bz2 sandhi-0865d999f90755cf624f1b4798d74c0376048989.zip |
no need for topology_init state var
Diffstat (limited to 'lib/block.cpp')
-rw-r--r-- | lib/block.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/block.cpp b/lib/block.cpp index c305d4c..7775f53 100644 --- a/lib/block.cpp +++ b/lib/block.cpp @@ -33,7 +33,6 @@ Block::Block(const std::string &name): (*this)->block->name = name; //for debug purposes //setup some state variables - (*this)->block->topology_init = false; (*this)->block->block_ptr = this; (*this)->block->block_state = BlockActor::BLOCK_STATE_INIT; @@ -72,7 +71,6 @@ InputPortConfig Block::get_input_config(const size_t which_input) const void Block::set_input_config(const size_t which_input, const InputPortConfig &config) { vector_set((*this)->block->input_configs, config, which_input); - if ((*this)->block->topology_init) { InputUpdateMessage message; message.index = which_input; @@ -88,7 +86,6 @@ OutputPortConfig Block::get_output_config(const size_t which_output) const void Block::set_output_config(const size_t which_output, const OutputPortConfig &config) { vector_set((*this)->block->output_configs, config, which_output); - if ((*this)->block->topology_init) { OutputUpdateMessage message; message.index = which_output; |