X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=common%2FxyzModem.c;h=56f4bcaf99453d04bac277b39a63688ed6836263;hb=eb04ab3492297941b285ff552645cc1c0ed72edb;hp=39f7d17a7c7dd9baa34125f488296e2ccc51c902;hpb=8b485ba12b0defa0c4ed3559789250238f8331a8;p=oweals%2Fu-boot.git 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