Code simplification to prevent clang static analysis from complaining.