eliminate unwanted compile warning message from generated code