This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libdecnumber/bid/bid2dpd_dpd2bid.c: Simplify code


On 05/26/2017 07:34 AM, Sylvestre Ledru wrote:
> Hello,
> 
> The attach patch (dup.diff) performs the following changes:
> 
>         * bid/bid2dpd_dpd2bid.c: Remove identical code for different
> branches (CID 1286836, 1286837, 1286838)
>           Remove some useless } else { declaration as we are returning
>           Remove some whitespace changes & tab
> 
> i attached the word diff to highlight the change.
> 
> No functional changes! The identical code has been found by coverity.
> 
> Thanks!
> 
> S
> 
> 
> 
> dup.diff
> 
> 
> libdecnumber/ChangeLog:
> 
> 2017-05-26  Sylvestre Ledru  <sylvestre@debian.org>
> 
> 	* bid/bid2dpd_dpd2bid.c: Remove identical code for different branches (CID 1286836, 1286837, 1286838)
>           Remove some useless } else { declaration as we are returning
>           Remove some whitespace changes & tab
I fixed up the ChangeLog and committed your change.  Thanks,

jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]