Assert must not have side effects. Removed side effects out of
assert, and created proper abort on error.
Merge branch 'master' of github.com:davidmoreno/onion
Fix compilation error, unused variable not really needed.