Fix compile warning

This commit is contained in:
Cary R 2016-02-10 22:32:31 -08:00
parent 71084109f6
commit 03cb74ba57
1 changed files with 1 additions and 1 deletions

View File

@ -642,7 +642,7 @@ static unsigned int get_format_char(char **rtn, int ljust, int plus,
vpi_printf("WARNING: %s:%d: incompatible value for %s%s.\n",
info->filename, info->lineno, info->name, fmtb);
} else {
char *tbuf, *prev_suff;
char *tbuf, *prev_suff = 0;
PLI_INT32 time_units = vpi_get(vpiTimeUnit, info->scope);
if (plus != 0) {