Don't clear the opt instance in the diff example.

The version field is overwritten otherwise. The opt instance is
already initialized properly.
Merge pull request #1273 from sba1/example-diff-fix

Don't clear the opt instance in the diff example.