Indian markets ended flat after a volatile session on Wednesday. The BSE Sensex closed at 49,492.32, down 24.79 points or 0.05%. The Nifty ended at 14,564.85, up 1.40 points or 0.01%.