Don't assign "error" variable twice.

Fixes bug #1208567

Change-Id: Iaf22f68935d833d749615f998f402fe997e8e029
Merge "Don't assign "error" variable twice."