A tsunami warning issued after a 6.8 magnitude quake struck off Sulawesi island in Indonesia has been lifted, the country's geophysics agency said. The warning was in place for about 40 minutes.