summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rondeau2011-12-06 19:56:22 -0500
committerTom Rondeau2011-12-06 19:56:22 -0500
commit839e2ef95cc4f0a49027377e74a582e62e9cbaba (patch)
tree55dcef1b1b22e2e51f3144ec43e75ab39be5eac9
parent1141e27bc0653fca31956459db9720ccce6fe754 (diff)
downloadgnuradio-839e2ef95cc4f0a49027377e74a582e62e9cbaba.tar.gz
gnuradio-839e2ef95cc4f0a49027377e74a582e62e9cbaba.tar.bz2
gnuradio-839e2ef95cc4f0a49027377e74a582e62e9cbaba.zip
Fixed warnings generated by variable declaration order.
-rw-r--r--gnuradio-core/src/lib/general/gr_correlate_access_code_tag_bb.cc4
-rw-r--r--gr-trellis/src/lib/trellis_pccc_decoder_combined_XX.h.t2
2 files changed, 3 insertions, 3 deletions
diff --git a/gnuradio-core/src/lib/general/gr_correlate_access_code_tag_bb.cc b/gnuradio-core/src/lib/general/gr_correlate_access_code_tag_bb.cc
index 23311f7a4..841675ec8 100644
--- a/gnuradio-core/src/lib/general/gr_correlate_access_code_tag_bb.cc
+++ b/gnuradio-core/src/lib/general/gr_correlate_access_code_tag_bb.cc
@@ -46,8 +46,8 @@ gr_correlate_access_code_tag_bb::gr_correlate_access_code_tag_bb (
: gr_sync_block ("correlate_access_code_tag_bb",
gr_make_io_signature (1, 1, sizeof(char)),
gr_make_io_signature (1, 1, sizeof(char))),
- d_data_reg(0), d_mask(0), d_len(0),
- d_threshold(threshold)
+ d_data_reg(0), d_mask(0),
+ d_threshold(threshold), d_len(0)
{
if (!set_access_code(access_code)){
diff --git a/gr-trellis/src/lib/trellis_pccc_decoder_combined_XX.h.t b/gr-trellis/src/lib/trellis_pccc_decoder_combined_XX.h.t
index 6d177cca2..ce118a3b1 100644
--- a/gr-trellis/src/lib/trellis_pccc_decoder_combined_XX.h.t
+++ b/gr-trellis/src/lib/trellis_pccc_decoder_combined_XX.h.t
@@ -56,9 +56,9 @@ TRELLIS_API @SPTR_NAME@ trellis_make_@BASE_NAME@ (
class TRELLIS_API @NAME@ : public gr_block
{
fsm d_FSMo;
- fsm d_FSMi;
int d_STo0;
int d_SToK;
+ fsm d_FSMi;
int d_STi0;
int d_STiK;
interleaver d_INTERLEAVER;