Prevent unused result warning in codegen. Always expect success for now.
auto merge of #2320 : glennw/servo/codegen-warnings, r=jdm

Is it reasonable to always expect success here for now?

Fixes #2246.