mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-13 19:52:20 +00:00
dtcreate: warning prevention.
This commit is contained in:
parent
231b359685
commit
ce7f5d0862
5 changed files with 7 additions and 5 deletions
|
@ -28,6 +28,7 @@
|
|||
*******************************************************************************/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <Xm/Xm.h>
|
||||
#include <Xm/MessageB.h>
|
||||
|
|
|
@ -170,7 +170,7 @@ static void CreateFiles(void)
|
|||
DbInitDone = TRUE;
|
||||
}
|
||||
DtActionInvoke(UxTopLevel, "ReloadActions",
|
||||
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
NULL, 0, NULL, NULL, NULL, 0, NULL, NULL);
|
||||
|
||||
_DtTurnOffHourGlass(CreateActionAppShell);
|
||||
|
||||
|
@ -1716,7 +1716,7 @@ Widget create_applicationShell1(swidget _UxUxParent)
|
|||
do
|
||||
{
|
||||
ptr = strchr (workspaces, '*');
|
||||
if (ptr != NULL) *ptr = NULL;
|
||||
if (ptr != NULL) *ptr = '\0';
|
||||
|
||||
workspace_atoms = (Atom *) XtRealloc (
|
||||
(char *)workspace_atoms,
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#include <Xm/Xm.h>
|
||||
#include <Xm/RowColumnP.h>
|
||||
#include <Xm/MessageB.h>
|
||||
|
|
|
@ -156,7 +156,7 @@ void GetSessionInfo( void )
|
|||
/*** now get the information we want from the database ***/
|
||||
/*** make sure values are at least somewhat reasonable ***/
|
||||
|
||||
xrm_name[1] = NULL;
|
||||
xrm_name[1] = '\0';
|
||||
|
||||
/*******************************/
|
||||
/* get x position */
|
||||
|
|
|
@ -74,7 +74,7 @@ char keywordDB[][30] = { "ACTION" ,
|
|||
"WINDOW_TYPE" ,
|
||||
"ARG_TYPE" ,
|
||||
"LABEL" ,
|
||||
NULL ,
|
||||
'\0' ,
|
||||
};
|
||||
|
||||
/* Max Number of fields in Action Keyword Table */
|
||||
|
@ -98,7 +98,7 @@ char FiletypekeywordDB[][30] = { "DATA_ATTRIBUTES" ,
|
|||
"MAP_ACTION" ,
|
||||
"TYPE" ,
|
||||
"LABEL" ,
|
||||
NULL ,
|
||||
'\0' ,
|
||||
};
|
||||
|
||||
/* Max Number of fields in Filetype Keyword Table */
|
||||
|
|
Loading…
Reference in a new issue