libdtsvc: Resolve Uninitialized warnings
This commit is contained in:
committed by
Jon Trulson
parent
35e94e3878
commit
b807066429
@@ -67,7 +67,7 @@ _DtPerfChkpntListenInit(Display *display, Window parentwin)
|
||||
#endif
|
||||
{
|
||||
Time timestamp = INVALID_TIME;
|
||||
Window tmpwin;
|
||||
Window tmpwin = 0;
|
||||
Bool bsuccess = False;
|
||||
|
||||
_DtSvcProcessLock();
|
||||
|
||||
@@ -110,12 +110,12 @@ GetTableIndex(
|
||||
#endif /* NeedWidePrototypes */
|
||||
{
|
||||
DtHashEntry *entries = tab->entries;
|
||||
int len, idx, i, rehash = 0;
|
||||
int len = 0, idx, i, rehash = 0;
|
||||
char c;
|
||||
Signature sig = 0;
|
||||
DtHashEntry entry;
|
||||
String s1, s2;
|
||||
DtHashKey compKey;
|
||||
DtHashKey compKey = NULL;
|
||||
|
||||
if (tab->keyIsString) {
|
||||
s1 = (String)key;
|
||||
|
||||
@@ -209,7 +209,7 @@ _DtMessageDialog(
|
||||
int dialogType )
|
||||
|
||||
{
|
||||
Widget message;
|
||||
Widget message = NULL;
|
||||
Widget widget;
|
||||
XmString message_string;
|
||||
XWindowAttributes attributes;
|
||||
|
||||
@@ -290,7 +290,7 @@ _DtGetEntries(
|
||||
int dosort )
|
||||
{
|
||||
char *line, *colon, *temp, *str, *temp2;
|
||||
Entry entry;
|
||||
Entry entry = { NULL, NULL, 0, False };
|
||||
int length;
|
||||
int lineno = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user