Fix Compiler Warnings
This commit is contained in:
lwvmobile
2022-03-24 08:31:30 -04:00
committed by GitHub
parent 1ee3dba499
commit 6a649376fc
3 changed files with 13 additions and 6 deletions

View File

@@ -113,7 +113,7 @@ void ProcessDMREncryption (dsd_opts * opts, dsd_state * state)
fprintf(stderr, "%s", state->err_str);
}
//state->debug_audio_errors += *errs2;
state->debug_audio_errors += *errs2;
//state->debug_audio_errors += *errs2R;
processAudio(opts, state);

View File

@@ -327,10 +327,17 @@ initState (dsd_state * state)
state->payload_keyid = 0;
sprintf (state->dmr_branding, " ");
sprintf (state->dmr_callsign[0], "");
sprintf (state->dmr_callsign[1], "");
sprintf (state->dmr_callsign[2], "");
sprintf (state->dmr_callsign[3], "");
sprintf (state->dmr_callsign[0], " ");
sprintf (state->dmr_callsign[1], " ");
sprintf (state->dmr_callsign[2], " ");
sprintf (state->dmr_callsign[3], " ");
sprintf (state->dmr_lrrp[0], " ");
sprintf (state->dmr_lrrp[1], " ");
sprintf (state->dmr_lrrp[2], " ");
sprintf (state->dmr_lrrp[3], " ");
sprintf (state->dmr_lrrp[4], " ");
sprintf (state->dmr_lrrp[5], " ");
state->K = 0;
#ifdef TRACE_DSD

View File

@@ -337,7 +337,7 @@ processLDU1 (dsd_opts* opts, dsd_state* state)
//state->payload_mfid = ConvertBitIntoBytes(&mfid[0], 7);
lcinfohex = ConvertBitIntoBytes(&lcinfo[0], 55);
fprintf (stderr, " LCU LCINFO %16X \n", lcinfohex);
fprintf (stderr, " LDU1 LCINFO %16llX \n", lcinfohex);
}
processP25lcw (opts, state, lcformat, mfid, lcinfo);