World War I
The British used whistles to communicate to other soldiers and so before they shelled the German trenches, they would sound the whistle. However, the Germans caught on to this tactic and so after the shelling, when the British soldiers came to finish off the German soldiers, the Germans were ready with their machine guns because they knew that the British were coming.