firpfbchr/example: removing unused 'id' variable
@@ -35,12 +35,11 @@ int main(int argc, char*argv[])
msourcecf gen = msourcecf_create_default();
// add signals (gen, fc, bw, gain, {options})
- int id;
- id = msourcecf_add_noise(gen, 0.00f, 1.0f, -60); // wide-band noise
- id = msourcecf_add_noise(gen, -0.30f, 0.1f, -20); // narrow-band noise
- id = msourcecf_add_tone (gen, 0.08f, 0.0f, 0); // tone
+ msourcecf_add_noise(gen, 0.00f, 1.0f, -60); // wide-band noise
+ msourcecf_add_noise(gen, -0.30f, 0.1f, -20); // narrow-band noise
+ msourcecf_add_tone (gen, 0.08f, 0.0f, 0); // tone
// modulated data
- id = msourcecf_add_modem(gen,
+ msourcecf_add_modem(gen,
(float)channel_id/(float)M, // center frequency
0.080f, // bandwidth (symbol rate)
-20, // gain
