Revert "Fix for coverity (AdC)"