1
0
Fork 0
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:
Peter Howkins 2012-08-30 18:07:16 +01:00
parent 231b359685
commit ce7f5d0862
5 changed files with 7 additions and 5 deletions

View file

@ -28,6 +28,7 @@
*******************************************************************************/
#include <stdio.h>
#include <stdlib.h>
#include <Xm/Xm.h>
#include <Xm/MessageB.h>

View file

@ -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,

View file

@ -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>

View file

@ -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 */

View file

@ -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 */