From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Thu, 25 Aug 2011 07:52:26 +0200 Subject: [U-Boot] gcc-4.6 warnings In-Reply-To: <348935C0-0C2D-4A7A-8ABE-9D09E2904B26@kernel.crashing.org> References: <3AA0E5B6-7E38-4CB0-94E2-F7BBA9A100FA@kernel.crashing.org> <20110824190504.3FFE811F9E78@gemini.denx.de> <348935C0-0C2D-4A7A-8ABE-9D09E2904B26@kernel.crashing.org> Message-ID: <20110825055226.91C9211F9E74@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Kumar Gala, In message <348935C0-0C2D-4A7A-8ABE-9D09E2904B26@kernel.crashing.org> you wrote: > > > If the variable is not used, why don't we remove it, then? > > In the vast number of cases it because of some #ifdef case not be > defined in the given build. well, that's the reason for the warnings showing up, it isn't the reason why we cannot fix these? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "I used to think that the brain was the most wonderful organ in my body. Then I realized who was telling me this." - Emo Phillips