Trivial cleanups.

SVN revision: 30043
This commit is contained in:
Kim Woelders 2007-05-20 12:46:24 +00:00
parent 10f5c22d56
commit f91bd57508
3 changed files with 7 additions and 2 deletions

View File

@ -2523,7 +2523,7 @@ BackgroundsIpc(const char *params)
p = params;
if (p)
{
len = 0;
len = len2 = 0;
sscanf(p, "%100s %n%100s %n", cmd, &len2, prm, &len);
p += len;
}

View File

@ -305,7 +305,9 @@ callback_shutdown_cancelled(SmcConn smc_conn, SmPointer client_data __UNUSED__)
SmcSaveYourselfDone(smc_conn, False);
}
#if 0 /* Unused */
static Atom atom_sm_client_id;
#endif
static IceConn ice_conn;
@ -333,7 +335,9 @@ SessionInit(void)
return;
#ifdef HAVE_X11_SM_SMLIB_H
#if 0 /* Unused */
atom_sm_client_id = XInternAtom(disp, "SM_CLIENT_ID", False);
#endif
IceSetIOErrorHandler(ice_io_error_handler);

View File

@ -419,9 +419,10 @@ ECreateObjectWindow(Win parent, int x, int y, int w, int h, int saveunder,
int type, Win cwin)
{
Win win;
int argb = 0;
#if USE_COMPOSITE
int argb = 0;
switch (type)
{
case 0: /* Client window */