Domestic benchmark indices erased the day's gains on Wednesday as the final hour of the trading session witnessed heavy selling in financial stocks and RIL. Sensex closed nearly flat at 36,051.81, registering a mere increase by 18.75 points or 0.05 per cent compared to its previous close. Nifty ended today's session at 10,618.20, up by 0.10 per cent or 10.85 points.