libdtterm: Resolve uninitialized warnings

This commit is contained in:
Peter Howkins
2021-12-21 01:11:29 +00:00
committed by Jon Trulson
parent 108c2fab2c
commit fa4fe1fb47
6 changed files with 13 additions and 8 deletions

View File

@@ -573,8 +573,8 @@ _DtTermPrimBufferInsertWc
short *returnLength /* count of characters in overflow buffer */
)
{
short widthInc; /* incremental change in line width */
short lengthInc; /* incremental change in line length */
short widthInc = 0; /* incremental change in line width */
short lengthInc = 0; /* incremental change in line length */
short widthInsert; /* column width of chars inserted */
short localCol;
TermLine line;