Remove unneccessary warning-logging