zeromq/zccp — pull request #5 by miska (2014-09-24 11:53:24+00:00)
Title: Problem: Can't compile due to ‘else’ without a previous ‘if’

Tried to compile stuff and got following error:

> In file included from zccp_server.c:59:0:
> zccp_server_engine.inc: In function ‘s_client_execute’:
> zccp_server_engine.inc:505:17: error: ‘else’ without a previous ‘if’
> else {
> ^

It was caused by two default states in server state machine. State "start"
inherited from "external" and defined exactly the same states. Got rid of the
local definition and used the inherited state as they were the same.