This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: [PATCH] Code cleanup in bfd/reloc.c


Hi Thiemo,

> this does a bit of code cleanup.

I am not sure of the point of this code cleanup.

It seems to me that the code is basically OK as it stands at the
moment.  I appreciate that the patch reduces the number of lines and
variables when handling the 'special_function' but I do not like
eliminating the intialisation of 'flag' at the start of the function
and then being forced to add an else clause to the if statement at
line 1199, and an explicit return at 1907.

Cheers
        Nick


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