hv: fix "Else alternative missing in if."

All if . . else if constructs shall be
terminated with an else statement.

Tracked-On: #861
Signed-off-by: Huihuang Shi <huihuang.shi@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com
This commit is contained in:
Huihuang Shi
2019-04-02 13:38:11 +08:00
committed by ACRN System Integration
parent 7cff124b96
commit b316bf8a39
9 changed files with 22 additions and 0 deletions

View File

@@ -398,6 +398,8 @@ static int32_t shell_process_cmd(const char *p_input_line)
shell_puts("\r\nError: Invalid parameters.\r\n");
} else if (status != 0) {
shell_puts("\r\nCommand launch failed.\r\n");
} else {
/* No other state currently, do nothing */
}
}