diff options
author | Jeroen Hofstee | 2014-06-11 01:04:42 +0200 |
---|---|---|
committer | Tom Rini | 2014-06-11 16:27:06 -0400 |
commit | e153b13c8e300236e6d505bea629cc81fd0988cb (patch) | |
tree | 3e8874c839f8d42c776c1630f483f4ca8e6510e0 | |
parent | 46f46fd48e08ccd0f0cf2e9f38b5f32ad530a33f (diff) |
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>
-rw-r--r-- | common/xyzModem.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/xyzModem.c b/common/xyzModem.c index 39f7d17a7c7..56f4bcaf994 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 |