libDtSvc: Resolve 89 compiler warnings.

This commit is contained in:
Peter Howkins
2012-09-01 21:35:10 +01:00
parent 92743e0999
commit e9bb2bcf09
24 changed files with 84 additions and 83 deletions

View File

@@ -843,7 +843,7 @@ _GetSmWindow(
Window wroot, wparent, *pchildren;
unsigned int nchildren;
*pSmWindow = NULL;
*pSmWindow = 0;
if ((rcode=XGetWindowProperty(display,root,
property,0L, PROP_DT_SM_WINDOW_INFO_ELEMENTS,
False,property,
@@ -938,8 +938,8 @@ static struct {
char *string;
Atom atom;
} smAtomList[] = {
{_XA_DT_SM_STATE_INFO, NULL},
{_XA_DT_SM_SAVER_INFO, NULL},
{_XA_DT_SM_STATE_INFO, 0},
{_XA_DT_SM_SAVER_INFO, 0},
};
static Atom