Fix incidental warnings from cpluspluscheck.
Tom Lane <tgl@sss.pgh.pa.us>
Fix incidental warnings from cpluspluscheck. Remove use of "register" keyword in hashfn.c. It's obsolescent according to recent C++ compilers, and no modern C compiler pays much attention to it either. Also fix one cosmetic warning about signed vs unsigned comparison. Discussion: https://postgr.es/m/20518.1559494394@sss.pgh.pa.us
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/hash/hashfn.c | modified | +8 −8 |
| src/include/utils/expandeddatum.h | modified | +1 −1 |
| src/include/utils/hashutils.h | modified | +3 −3 |
Discussion
- Residual cpluspluscheck issues 3 messages · 2019-06-02 → 2020-09-30