[sgen] Fix a Clang warning.