Merge pull request #147 from volo-zyko/fix-unusedVariableWarning

Fix warnings related to unused variables
This commit is contained in:
lwvmobile
2023-07-01 13:27:49 -04:00
committed by GitHub
51 changed files with 153 additions and 159 deletions

View File

@@ -20,7 +20,7 @@
int
getSymbol (dsd_opts * opts, dsd_state * state, int have_sync)
{
short sample, sample2;
short sample;
int i, sum, symbol, count;
ssize_t result;
@@ -513,9 +513,9 @@ getSymbol (dsd_opts * opts, dsd_state * state, int have_sync)
state->symbolc = fgetc(opts->symbolfile);
//experimental throttle
useconds_t stime = state->symbol_throttle;
if (state->use_throttle == 1)
{
// useconds_t stime = state->symbol_throttle;
// usleep(stime);
usleep(.003); //very environment specific, tuning to cygwin
}