[Chapel Merge] Address a gcc 12 warning

Branch: refs/heads/main
Revision: 34f2944
Author: bradcray
Link: Address a gcc 12 warning by bradcray · Pull Request #19835 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #19835 from bradcray/fix-gcc-12-warning

Address a gcc 12 warning

[trivial, not reviewed]

gcc 12 is smart enough to realize that the second part of the
conditional that I'm modifying in this PR will be true only iff
the first part is, and warns about it (breaking a CHPL_DEVELOPER
build). So simplify the conditional by removing the second part.
This code has been around for a looong time!

Modified Files:
M runtime/src/config.c

Compare: https://github.com/chapel-lang/chapel/compare/022b0d3ae120...34f29449ce5a