Minor dialyzer fixes.
Fix an unused variable warning.