The Legend of Barney Fife - S6-E18
Continuity mistake: At the start of the episode, while Barney's in Andy's kitchen he's wearing a shirt with large distinctive designs, but when he and Andy walk into the courthouse Barney's shirt has completely different designs (though it's the same type of shirt). (00:01:00 - 00:04:00)
The Legend of Barney Fife - S6-E18
Revealing mistake: When Andy and Goober enter the Taylor house Andy calls for Aunt Bee, and just as she walks out of the kitchen we can see the end of the set wall inside the kitchen. (00:14:20)
Answer: Those "boxes" are valences that used to be very common, before air conditioning. They allow for windows to be open during rain storms. They permit air circulation, without letting the rain in.