mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-28 07:58:08 +01:00
don't assert when unexpected event arrives; just log and drop
This commit is contained in:
parent
fcff7066e9
commit
ccdec2210b
1 changed files with 1 additions and 2 deletions
|
@ -129,10 +129,9 @@ getFromTable( XW_RELAY_STATE curState, XW_RELAY_EVENT curEvent,
|
||||||
++stp;
|
++stp;
|
||||||
}
|
}
|
||||||
|
|
||||||
logf( "unable to find transition from %s on event %s",
|
logf( "==> ERROR :: unable to find transition from %s on event %s",
|
||||||
stateString(curState), eventString(curEvent) );
|
stateString(curState), eventString(curEvent) );
|
||||||
|
|
||||||
assert(0);
|
|
||||||
return 0;
|
return 0;
|
||||||
} /* getFromTable */
|
} /* getFromTable */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue