ttsnoop: Resolve uninitialized warnings

This commit is contained in:
Peter Howkins
2021-12-22 01:12:40 +00:00
committed by Jon Trulson
parent 35c9fd24a3
commit 20e2618097
2 changed files with 8 additions and 8 deletions

View File

@@ -317,7 +317,7 @@ _DtTtMessageUpdate(
if (tt_is_err( status ) || (instance == 0)) {
return;
}
char *func;
char *func = NULL;
switch (choice) {
case _DtStringChooseMessageOtype:
status = tt_message_otype_set( msg, val );