Fix build error due to "unequal" brackets
For some reason more brackets is worse than no brackets and warning is generated that is threated as error. Therefore remove brackets to fix the build when LOSCFG_PLATFORM_ROOTFS is defined Signed-off-by: Zbigniew Bodek <zbigniew.bodek@huawei.com> Change-Id: I610a5893217039a36d894641c54a83ff4d4b7822
This commit is contained in:
parent
5400ef180a
commit
3247d4f651
|
@ -100,14 +100,14 @@ STATIC UINT32 OsShellSourceInit(INT32 consoleId)
|
||||||
ret = LOS_NOK;
|
ret = LOS_NOK;
|
||||||
goto ERR_OUT4;
|
goto ERR_OUT4;
|
||||||
}
|
}
|
||||||
if ((consoleId == CONSOLE_TELNET)
|
if (consoleId == CONSOLE_TELNET
|
||||||
#if !defined(LOSCFG_PLATFORM_ROOTFS)
|
#if !defined(LOSCFG_PLATFORM_ROOTFS)
|
||||||
/*
|
/*
|
||||||
* In case of ROOTFS disabled but
|
* In case of ROOTFS disabled but
|
||||||
* serial console enabled, it is required
|
* serial console enabled, it is required
|
||||||
* to create Shell task in kernel for it.
|
* to create Shell task in kernel for it.
|
||||||
*/
|
*/
|
||||||
|| (consoleId == CONSOLE_SERIAL)
|
|| consoleId == CONSOLE_SERIAL
|
||||||
#endif
|
#endif
|
||||||
) {
|
) {
|
||||||
ret = OsShellCreateTask(shellCB);
|
ret = OsShellCreateTask(shellCB);
|
||||||
|
|
Loading…
Reference in New Issue