libdtsvc: Resolve Uninitialized warnings
This commit is contained in:
committed by
Jon Trulson
parent
35e94e3878
commit
b807066429
@@ -1003,7 +1003,7 @@ _DtActionConverter(DtDtsDbField * fields,
|
||||
char bigBuf[_DtAct_MAX_BUF_SIZE];
|
||||
char *buf = bigBuf;
|
||||
char *fileName = _DtDbPathIdToString(pathId);
|
||||
char *actionType;
|
||||
char *actionType = NULL;
|
||||
|
||||
_DtSvcProcessLock();
|
||||
if (firstTime)
|
||||
|
||||
@@ -885,7 +885,7 @@ TtRequestCallbackHandler(
|
||||
int argRepType;
|
||||
char *upttbuf;
|
||||
int upttbuflen, ivalue;
|
||||
char *upVType, *upVType2;
|
||||
char *upVType = NULL, *upVType2 = NULL;
|
||||
|
||||
|
||||
status = (Tt_status) tt_message_status(message);
|
||||
@@ -1174,7 +1174,7 @@ InitiateTtRequest(
|
||||
ActionRequest *request )
|
||||
|
||||
{
|
||||
CallbackData *data;
|
||||
CallbackData *data = NULL;
|
||||
ActionPtr action = request->clonedAction;
|
||||
tt_msgAttr * tt = &(action->u.tt_msg);
|
||||
int i;
|
||||
|
||||
@@ -961,7 +961,7 @@ ReadNextEntry(
|
||||
char *start;
|
||||
char *last;
|
||||
char *save;
|
||||
char *error_buffer;
|
||||
char *error_buffer = NULL;
|
||||
short startDef;
|
||||
char * errorName;
|
||||
char * version;
|
||||
|
||||
@@ -1951,7 +1951,7 @@ DtDtsSetDataType(const char *filename, const char *datatype_in, const int overid
|
||||
int fd;
|
||||
char *dt;
|
||||
int size;
|
||||
u_char *buff;
|
||||
u_char *buff = NULL;
|
||||
struct stat file_stat;
|
||||
char *datatype = 0;
|
||||
|
||||
|
||||
@@ -196,7 +196,7 @@ _DtSetSmState(
|
||||
Window smWindow,
|
||||
SmStateInfo *pSmStateInfo)
|
||||
{
|
||||
int propStatus;
|
||||
int propStatus = Success;
|
||||
PropDtSmStateInfo propSmStateInfo;
|
||||
PropDtSmStateInfo *pPropSmStateInfo;
|
||||
Atom xaDtSmStateInfo;
|
||||
|
||||
Reference in New Issue
Block a user