]> granicus.if.org Git - postgresql/commit
Fix compiler warnings in multivariate MCV code
authorTomas Vondra <tomas.vondra@postgresql.org>
Sat, 30 Mar 2019 17:43:16 +0000 (18:43 +0100)
committerTomas Vondra <tomas.vondra@postgresql.org>
Sat, 30 Mar 2019 17:43:16 +0000 (18:43 +0100)
commitad3107b97324e0c8cf65932294115b6af9db8ded
treefa93bf4793015b3bf1e85e1e4c0a857be35c8b02
parentea4e1c0e8f583f99c8caab5bcdfbbbaaed0685c0
Fix compiler warnings in multivariate MCV code

Compiler warnings were observed on gcc 3.4.6 (on gaur).

The assert is unnecessary, as the indexes are uint16 and so always >= 0.

Reported-by: Tom Lane
src/backend/statistics/mcv.c