Re: [PATCH] newlib: libc: reente.h: remove unnecessary parentheses

Corinna Vinschen <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
On May 18 18:03, jiawei wrote:
> From: Jia-Wei Chen <[email protected]>
> 
> The compiler warns the double parentheses are unnecessary in some
> target, and cause fail cases when doing some testcases in regression.
> 
> gcc/testsuite/g++.dg/warn/Wstringop-overflow-6.C
> 
> Remove the unnecessary parentheses will fix it. See more details in 
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85775
> 
> Same like in commit 05425831290c9869bc7987b5df3ce84aa4f19a6c,
> Author: Maxim Blinov <[email protected]>
> Date:   Thu Jul 22 22:41:42 2021 +0100
> 
>      Remove unneccesary parenthesis around declarator
> 
> Thanks for Sebastian Huber's remind!
> 
> ChangeLog:
> 
>         * newlib/libc/include/sys/reent.h (struct _reent): Remove
>         * additonal parentheses. 

Pushed with fixed subject and dropping tne CVS-style entry in the commit
message. We don't do CVS anymore these days :)


Thanks,
Corinna
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.