> `src/java.base/windows/native/libnet/ResolverConfigurationImpl.c` has 3 
> unused macros defined: `IS_SL_FOUND`, `IS_NS_FOUND`, and `STS_NO_CONFIG`.
> 
> Plus, `loadConfig()` returns `STS_SL_FOUND & STS_NS_FOUND`, which is always 
> 0. `&` usage looks wrong.
> However the strange return value is no big issue because we currently only 
> check for error (-1), and this still works.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Matthias Baesken has updated the pull request incrementally with one additional 
commit since the last revision:

  remove unneeded defines

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/33318/files
  - new: https://git.openjdk.org/jdk/pull/33318/files/f88902b6..ee7664f2

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=33318&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=33318&range=01-02

  Stats: 4 lines in 1 file changed: 0 ins; 4 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/33318.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/33318/head:pull/33318

PR: https://git.openjdk.org/jdk/pull/33318

Reply via email to