get rid of compiler warning (bug #4682)