Commit e153b13c authored by Jeroen Hofstee's avatar Jeroen Hofstee Committed by Tom Rini

common/xyzModem.c: move empty statements to newline

To prevent a warning for clang the loop without a body
is made more clear by moving it to a line of its own.
This prevents a clang warning.

Signed-off-by: default avatarJeroen Hofstee <>
parent 46f46fd4
......@@ -759,7 +759,8 @@ xyzModem_stream_terminate (bool abort, int (*getc) (void))
* If we don't eat it now, RedBoot will think the user typed it.
ZM_DEBUG (zm_dprintf ("Trailing gunk:\n"));
while ((c = (*getc) ()) > -1);
while ((c = (*getc) ()) > -1)
ZM_DEBUG (zm_dprintf ("\n"));
* Make a small delay to give terminal programs like minicom
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment