Thanks. Normally, my editor/clang plugin would catch this. I was doing it on SmartOS where clang is not installed and gcc also did not give a warning.