libdtterm: Resolve uninitialized warnings
This commit is contained in:
committed by
Jon Trulson
parent
108c2fab2c
commit
fa4fe1fb47
@@ -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;
|
||||
|
||||
@@ -68,8 +68,8 @@ _DtTermPrimRefreshTextWc(Widget w, short startColumn, short startRow,
|
||||
short chunkStartColumn;
|
||||
short chunkWidth;
|
||||
short chunkLength;
|
||||
short thisStartColumn;
|
||||
short thisEndColumn;
|
||||
short thisStartColumn = 0;
|
||||
short thisEndColumn = 0;
|
||||
enhValues enhancements;
|
||||
int i1;
|
||||
int lineNum;
|
||||
|
||||
@@ -282,7 +282,7 @@ _DtTermPrimSubprocExec(Widget w,
|
||||
DtTermPrimitiveWidget tw = (DtTermPrimitiveWidget) w;
|
||||
static char *defaultCmd = (char *) 0;
|
||||
int i;
|
||||
int pty;
|
||||
int pty = -1;
|
||||
pid_t pid;
|
||||
char *c;
|
||||
int err;
|
||||
|
||||
Reference in New Issue
Block a user