SCP: Silence potential compiler warning
This commit is contained in:
parent
c00376d363
commit
9711fc017b
1 changed files with 1 additions and 1 deletions
2
scp.c
2
scp.c
|
@ -5968,7 +5968,7 @@ return SCPE_OK;
|
||||||
|
|
||||||
void fprint_sep (FILE *st, int32 *tokens)
|
void fprint_sep (FILE *st, int32 *tokens)
|
||||||
{
|
{
|
||||||
fprintf (st, (*tokens > 0) ? ", " : ((*tokens < 0) ? "" : _sim_dname_space ()));
|
fprintf (st, "%s", (*tokens > 0) ? ", " : ((*tokens < 0) ? "" : _sim_dname_space ()));
|
||||||
*tokens += 1;
|
*tokens += 1;
|
||||||
if (*tokens == 0)
|
if (*tokens == 0)
|
||||||
*tokens = 1;
|
*tokens = 1;
|
||||||
|
|
Loading…
Add table
Reference in a new issue