[PATCH rtems-tools v2 4/7] TraceReaderLogQEMU.cc: Fix formatting

Chris Johns chrisj at rtems.org
Fri Sep 24 02:19:34 UTC 2021


On 24/9/21 7:26 am, Ryan Long wrote:
> ---
>  tester/covoar/TraceReaderLogQEMU.cc | 21 +++++++++++----------
>  1 file changed, 11 insertions(+), 10 deletions(-)
> 
> diff --git a/tester/covoar/TraceReaderLogQEMU.cc b/tester/covoar/TraceReaderLogQEMU.cc
> index 7f72168..b1c52a9 100644
> --- a/tester/covoar/TraceReaderLogQEMU.cc
> +++ b/tester/covoar/TraceReaderLogQEMU.cc
> @@ -68,9 +68,11 @@ bool ReadUntilFound( std::ifstream& file, const char* line )
>        return false;
>      }
>  
> -    if ( strncmp( discardBuff, line, len ) == 0 )
> +    if ( strncmp( discardBuff, line, len ) == 0 ) {
>        return true;
> -  } while (1);
> +    }
> +
> +  } while( 1 );

Please use `true`.

Chris


More information about the devel mailing list