Fix 'suggest braces around empty body if statement'.

SVN revision: 51291
This commit is contained in:
Christopher Michael 2010-08-18 16:28:36 +00:00
parent b82186120a
commit 1e8383c131
1 changed files with 4 additions and 1 deletions

View File

@ -1988,21 +1988,24 @@ _ecore_x_event_handle_client_message(XEvent *xevent)
LOGFN(__FILE__, __LINE__, __FUNCTION__);
e->state[0] = _ecore_x_netwm_state_get(xevent->xclient.data.l[1]);
if (e->state[0] == ECORE_X_WINDOW_STATE_UNKNOWN)
{
// char *name;
LOGFN(__FILE__, __LINE__, __FUNCTION__);
// name = XGetAtomName(_ecore_x_disp, xevent->xclient.data.l[1]);
// if (name) ERR("Unknown state: %s", name);
// XFree(name);
}
e->state[1] = _ecore_x_netwm_state_get(xevent->xclient.data.l[2]);
if (e->state[1] == ECORE_X_WINDOW_STATE_UNKNOWN)
{
// char *name;
LOGFN(__FILE__, __LINE__, __FUNCTION__);
// name = XGetAtomName(_ecore_x_disp, xevent->xclient.data.l[2]);
// if (name) ERR("Unknown state: %s", name);
// XFree(name);
}
e->source = xevent->xclient.data.l[3];