diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-05-10 09:33:37 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-05-10 09:33:37 +0200 |
commit | db6325810100c2df58966876ad9b59b1f62df0bb (patch) | |
tree | 06b781b0e1b7ba0872c99eaabc4d83c34763fd79 /src | |
parent | 4810902742b9462b90b0f7940f0c75b41a0a2e93 (diff) | |
download | glutte-o-matic-db6325810100c2df58966876ad9b59b1f62df0bb.tar.gz glutte-o-matic-db6325810100c2df58966876ad9b59b1f62df0bb.tar.bz2 glutte-o-matic-db6325810100c2df58966876ad9b59b1f62df0bb.zip |
Fix codestr uninitialised warning
Diffstat (limited to 'src')
-rw-r--r-- | src/common/src/Audio/tone.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/src/Audio/tone.c b/src/common/src/Audio/tone.c index edc1d50..90a8394 100644 --- a/src/common/src/Audio/tone.c +++ b/src/common/src/Audio/tone.c @@ -99,7 +99,7 @@ static enum dtmf_code dtmf_sequence[NUM_DTMF_SEQ]; static char* dtmf_to_str(enum dtmf_code code) { - char *codestr; + char *codestr = "?"; switch (code) { case DTMF_0: codestr = "0"; break; case DTMF_7: codestr = "7"; break; |