Second quarter profit at Dollar General Corporation has risen by 3.5%, but the discount retailer said it saw slower sales of products like basic apparel items as shoppers cut back on discretionary spending.