SimpleCompactHashtable has some data members of pointer type. They are initialized to 0 in the constructor, and set to 0 in the reset() function. This triggers -Wzero-as-null-pointer-constant warnings when that's enabled.
- blocks
-
JDK-8332189 Enable -Wzero-as-null-pointer-constant for gcc
-
- Open
-
- links to
-
Commit(master) openjdk/jdk/9b6f6c5c
-
Review(master) openjdk/jdk/20113