mirror of
				git://git.code.sf.net/p/cdesktopenv/code
				synced 2025-03-09 15:50:02 +00:00 
			
		
		
		
	dtlogin: Resolve 7 compiler warnings.
This commit is contained in:
		
							parent
							
								
									89e76b2e9b
								
							
						
					
					
						commit
						2a9b4ec67c
					
				
					 4 changed files with 6 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -29,6 +29,7 @@
 | 
			
		|||
 */
 | 
			
		||||
#include <stdio.h>
 | 
			
		||||
#include <string.h>
 | 
			
		||||
#include <stdlib.h>
 | 
			
		||||
 | 
			
		||||
/*********************************************************************
 | 
			
		||||
 * qualifyWithFirst
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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(
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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), 
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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(
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue