From: Jeroen Hofstee Date: Tue, 10 Jun 2014 23:04:42 +0000 (+0200) Subject: common/xyzModem.c: move empty statements to newline X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=e153b13c8e300236e6d505bea629cc81fd0988cb;p=u-boot.git 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. cc: sbabic@denx.de Signed-off-by: Jeroen Hofstee --- diff --git a/common/xyzModem.c b/common/xyzModem.c index 39f7d17a7c..56f4bcaf99 100644 --- a/common/xyzModem.c +++ b/common/xyzModem.c @@ -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