scst: Make command state numbers consecutive

This makes it easier for the compiler to optimize command state
switch statements.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7480 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2018-09-27 02:24:38 +00:00
parent 75b78880d0
commit 2231b598c6

View File

@@ -165,7 +165,8 @@ enum {
/* Internal cmd finished */
SCST_CMD_STATE_FINISHED_INTERNAL,
SCST_CMD_STATE_LAST_ACTIVE = (SCST_CMD_STATE_FINISHED_INTERNAL+100),
/* An invalid command state */
SCST_CMD_STATE_LAST_ACTIVE,
/** Passive states **/