[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: xsrc/external/mit/libpciaccess/dist/src
On Fri, 02 Nov 2012, David Young wrote:
Remove useless extra "const" in "const sometype const * var = value;".
Foundusing clang -Wduplicate-decl-specifier.
Maybe 'const sometype * const var' was intended, i.e., a "single
assignment" semantic? I've probably mistyped that myself several times.
The variable is assigned only once, so that would work,
but it's in a small block where I don't think it would add any clarity.
--apb (Alan Barrett)
Main Index |
Thread Index |