Fixes static analyser issue.