summaryrefslogtreecommitdiff
path: root/gr-atsc/src/lib/atsci_equalizer_lms2.cc
diff options
context:
space:
mode:
authorjcorgan2008-08-24 17:41:07 +0000
committerjcorgan2008-08-24 17:41:07 +0000
commit34af4364456b9005efee3c3986ea0f4dce87c99e (patch)
tree06dc2b36e42a00985364f043748f9ab1881bde0b /gr-atsc/src/lib/atsci_equalizer_lms2.cc
parent66a225bf721cd61c736879bdf8ab44674319426d (diff)
downloadgnuradio-34af4364456b9005efee3c3986ea0f4dce87c99e.tar.gz
gnuradio-34af4364456b9005efee3c3986ea0f4dce87c99e.tar.bz2
gnuradio-34af4364456b9005efee3c3986ea0f4dce87c99e.zip
Fix compiler warnings across the tree. Adds --enable-warnings-as-errors configure option. Currently compiles with no warnings with GCC 4.2.3 on Ubuntu 8.04.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9396 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-atsc/src/lib/atsci_equalizer_lms2.cc')
-rw-r--r--gr-atsc/src/lib/atsci_equalizer_lms2.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/gr-atsc/src/lib/atsci_equalizer_lms2.cc b/gr-atsc/src/lib/atsci_equalizer_lms2.cc
index b8124fa92..345f6209f 100644
--- a/gr-atsc/src/lib/atsci_equalizer_lms2.cc
+++ b/gr-atsc/src/lib/atsci_equalizer_lms2.cc
@@ -38,7 +38,7 @@ static const int NFBTAPS = 192;
// the length of the field sync pattern that we know unequivocally
static const int KNOWN_FIELD_SYNC_LENGTH = 4 + 511 + 3 * 63;
-static const float *get_data_seg_sync_training_sequence (int offset);
+// static const float *get_data_seg_sync_training_sequence (int offset);
static int get_field_sync_training_sequence_length (int offset);
static const float *get_field_sync_training_sequence (int which_field, int offset);
@@ -339,13 +339,14 @@ init_field_sync_common (float *p, int mask)
assert (i == KNOWN_FIELD_SYNC_LENGTH);
}
-
+#if 0
static const float *
get_data_seg_sync_training_sequence (int offset)
{
static const float training_data[4] = { +5, -5, -5, +5 };
return &training_data[offset];
}
+#endif
static int
get_field_sync_training_sequence_length (int offset)