No, almost certainly not. The only point where this might hurt is if the pages not only had the same h2, but also very similar content. For example, if the only 'main' (aside from the header, nav, footer) content on the page was the h2 with a duplicated paragraph below it.