OK to push.

On 9/10/21 5:45 am, Ryan Long wrote:
> CID 1399595: Logically dead code in generate_traces().
> 
> Closes #4525
> ---
>  linkers/rtems-tld.cpp | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)
> 
> diff --git a/linkers/rtems-tld.cpp b/linkers/rtems-tld.cpp
> index 7b42e45..bc1ad89 100644
> --- a/linkers/rtems-tld.cpp
> +++ b/linkers/rtems-tld.cpp
> @@ -1266,10 +1266,7 @@ namespace rld
>                  ds += " + ";
>                else
>                  ds_added = true;
> -              if (drs_added)
> -                drs += " + ";
> -              else
> -                drs_added = true;
> +              drs_added = true;
>                ds += "sizeof(" + sig.ret + ')';
>                drs += "sizeof(" + sig.ret + ')';
>              }
> 
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to