A tsunami warning was briefly issued after the 7.0 quake struck the south-west coast on Tuesday afternoon.