dtcreate: warning prevention.
This commit is contained in:
@@ -28,6 +28,7 @@
|
|||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include <Xm/Xm.h>
|
#include <Xm/Xm.h>
|
||||||
#include <Xm/MessageB.h>
|
#include <Xm/MessageB.h>
|
||||||
|
|||||||
@@ -170,7 +170,7 @@ static void CreateFiles(void)
|
|||||||
DbInitDone = TRUE;
|
DbInitDone = TRUE;
|
||||||
}
|
}
|
||||||
DtActionInvoke(UxTopLevel, "ReloadActions",
|
DtActionInvoke(UxTopLevel, "ReloadActions",
|
||||||
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
NULL, 0, NULL, NULL, NULL, 0, NULL, NULL);
|
||||||
|
|
||||||
_DtTurnOffHourGlass(CreateActionAppShell);
|
_DtTurnOffHourGlass(CreateActionAppShell);
|
||||||
|
|
||||||
@@ -1716,7 +1716,7 @@ Widget create_applicationShell1(swidget _UxUxParent)
|
|||||||
do
|
do
|
||||||
{
|
{
|
||||||
ptr = strchr (workspaces, '*');
|
ptr = strchr (workspaces, '*');
|
||||||
if (ptr != NULL) *ptr = NULL;
|
if (ptr != NULL) *ptr = '\0';
|
||||||
|
|
||||||
workspace_atoms = (Atom *) XtRealloc (
|
workspace_atoms = (Atom *) XtRealloc (
|
||||||
(char *)workspace_atoms,
|
(char *)workspace_atoms,
|
||||||
|
|||||||
@@ -29,6 +29,7 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
#include <stdlib.h>
|
||||||
#include <Xm/Xm.h>
|
#include <Xm/Xm.h>
|
||||||
#include <Xm/RowColumnP.h>
|
#include <Xm/RowColumnP.h>
|
||||||
#include <Xm/MessageB.h>
|
#include <Xm/MessageB.h>
|
||||||
|
|||||||
@@ -156,7 +156,7 @@ void GetSessionInfo( void )
|
|||||||
/*** now get the information we want from the database ***/
|
/*** now get the information we want from the database ***/
|
||||||
/*** make sure values are at least somewhat reasonable ***/
|
/*** make sure values are at least somewhat reasonable ***/
|
||||||
|
|
||||||
xrm_name[1] = NULL;
|
xrm_name[1] = '\0';
|
||||||
|
|
||||||
/*******************************/
|
/*******************************/
|
||||||
/* get x position */
|
/* get x position */
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ char keywordDB[][30] = { "ACTION" ,
|
|||||||
"WINDOW_TYPE" ,
|
"WINDOW_TYPE" ,
|
||||||
"ARG_TYPE" ,
|
"ARG_TYPE" ,
|
||||||
"LABEL" ,
|
"LABEL" ,
|
||||||
NULL ,
|
'\0' ,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Max Number of fields in Action Keyword Table */
|
/* Max Number of fields in Action Keyword Table */
|
||||||
@@ -98,7 +98,7 @@ char FiletypekeywordDB[][30] = { "DATA_ATTRIBUTES" ,
|
|||||||
"MAP_ACTION" ,
|
"MAP_ACTION" ,
|
||||||
"TYPE" ,
|
"TYPE" ,
|
||||||
"LABEL" ,
|
"LABEL" ,
|
||||||
NULL ,
|
'\0' ,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Max Number of fields in Filetype Keyword Table */
|
/* Max Number of fields in Filetype Keyword Table */
|
||||||
|
|||||||
Reference in New Issue
Block a user