Fix compiler warnings across the tree. Adds --enable-warnings-as-errors configure...
[debian/gnuradio] / gr-atsc / src / lib / atsc_pad.cc
index 17f50e1f80c98240e6114bb9fa772d7029418a17..cd1353e266e54bf0cf195c45634aa058aadff7ce 100644 (file)
@@ -61,10 +61,8 @@ atsc_pad::work (int noutput_items,
 {
   const unsigned char *in = (const unsigned char *) input_items[0];
   atsc_mpeg_packet *out = (atsc_mpeg_packet *) output_items[0];
-
-  // size with padding (256)
-  unsigned int ATSC_MPEG_PKT = sizeof(atsc_mpeg_packet);
-  unsigned int i;
+  
+  int i;
 
   for (i = 0; i < noutput_items; i++){
     for (int j = 0; j < ATSC_MPEG_PKT_LENGTH; j++)