A 5.6-magnitude earthquake struck off northern Indonesia's Sumatra island Thursday, the US Geological Survey said. There was no tsunami warning.