summaryrefslogtreecommitdiff
path: root/common/xyzModem.c
diff options
context:
space:
mode:
authorJeroen Hofstee <jeroen@myspectrum.nl>2014-06-11 01:04:42 +0200
committerTom Rini <trini@ti.com>2014-06-11 16:27:06 -0400
commite153b13c8e300236e6d505bea629cc81fd0988cb (patch)
tree3e8874c839f8d42c776c1630f483f4ca8e6510e0 /common/xyzModem.c
parent46f46fd48e08ccd0f0cf2e9f38b5f32ad530a33f (diff)
downloadu-boot-imx-e153b13c8e300236e6d505bea629cc81fd0988cb.zip
u-boot-imx-e153b13c8e300236e6d505bea629cc81fd0988cb.tar.gz
u-boot-imx-e153b13c8e300236e6d505bea629cc81fd0988cb.tar.bz2
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 <jeroen@myspectrum.nl>
Diffstat (limited to 'common/xyzModem.c')
-rw-r--r--common/xyzModem.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/xyzModem.c b/common/xyzModem.c
index 39f7d17..56f4bca 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