Dollar General has adjusted its full-year guidance after booking a drop in third-quarter earnings and a narrowing of margins.