1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-13 19:52:20 +00:00

dtlogin: Resolve 7 compiler warnings.

This commit is contained in:
Peter Howkins 2012-08-30 22:30:36 +01:00
parent 89e76b2e9b
commit 2a9b4ec67c
4 changed files with 6 additions and 5 deletions

View file

@ -29,6 +29,7 @@
*/
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
/*********************************************************************
* qualifyWithFirst

View file

@ -817,7 +817,7 @@ MenuItemCB( Widget w, XtPointer client_data, XtPointer call_data )
temp_p = logoFile;
logoName = _DtGetIconFileName(DefaultScreenOfDisplay(dpyinfo.dpy),
temp_p, NULL, NULL, NULL);
temp_p, NULL, NULL, 0);
if (logoName == NULL) {
LogError(
@ -1740,7 +1740,7 @@ SetDtLabelAndIcon()
logoName = _DtGetIconFileName(
DefaultScreenOfDisplay(dpyinfo.dpy),
temp_p, NULL, NULL, NULL);
temp_p, NULL, NULL, 0);
if (logoName == NULL) {
LogError(

View file

@ -180,9 +180,9 @@ MakeLogo( void )
/*
* On AIX4 we have a Dtlogo.s.pm
*/
# define LOGO_TYPE (LOWRES ? DtSMALL : NULL)
# define LOGO_TYPE (LOWRES ? DtSMALL : 0)
#else
# define LOGO_TYPE NULL
# define LOGO_TYPE 0
#endif
logoName = _DtGetIconFileName(DefaultScreenOfDisplay(dpyinfo.dpy),

View file

@ -896,7 +896,7 @@ char *temp_p;
/*
* Make sure the key file exists.
*/
if (stat( temp_p, &statb) == NULL) {
if (stat( temp_p, &statb) == 0) {
j = InitArg(ToggleBG);
if (XrmGetResource(