Corn syrup makes Royal icing shiny, and also helps it dry slightly softer, so it's better for eating.