Avoid uninitialized variable warning if no locale has been passed in