]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/xyzModem.c
karo: merge with Ka-Ro specific tree for secure boot support
[karo-tx-uboot.git] / common / xyzModem.c
index 82039df1f3de6e7b727356f7033e3f5f884f965e..8e35e99a0df76ded98f8537f3d62d497b0df4c4b 100644 (file)
@@ -760,7 +760,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