Squash compile warning (#4019)