July 26 (Reuters) - Wall Street's main indexes opened lower on Tuesday after Walmart's profit warning heightened fears in the retail sector that consumers were cutting back on discretionary spending in the face of decades-high inflation. The Dow Jones Industrial Average .DJI fell 40 points, or 0.13%, at the open to 31,950.04. (Reporting by Shreyashi Sanyal in Bengaluru; Editing by Arun Koyyur) ((Shreyashi.Sanyal@thomsonreuters.com; +1 646 223 8780; +91 961 144 3740; Twitter: https://twitter.com/s_shreyashi;)) The views and opinions expressed herein are the views and opinions of the author and do not necessarily reflect those of Nasdaq, Inc.