Minecraft wiki entry for Hunger_management, associated text: Doing nothing
You won't lose hunger if you don't do anything (walking, mining, healing, etc.). In hardcore especially, this can be a necessary strategy while waiting for crops or baby animals to grow.