Source-Changes-D archive

[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:
Modified Files:
        xsrc/external/mit/libpciaccess/dist/src: common_interface.c

Log Message:
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)

Home | Main Index | Thread Index | Old Index