All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] PATCH: fix warning in common/altera.c
@ 2005-04-07  8:02 Steven Scholz
  2005-04-07 22:33 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Steven Scholz @ 2005-04-07  8:02 UTC (permalink / raw)
  To: u-boot

Hi,

Please consider this trivial patch to fix the compiler warning

altera.c:162: warning: deprecated use of label at end of compound statement


Index: u-boot/common/altera.c
===================================================================
RCS file: /cvsroot/u-boot/u-boot/common/altera.c,v
retrieving revision 1.2
diff -u -r1.2 altera.c
--- u-boot/common/altera.c      9 Oct 2003 20:09:04 -0000       1.2
+++ u-boot/common/altera.c      7 Apr 2005 07:56:54 -0000
@@ -158,6 +158,7 @@
                                 /* Add new family types here */
                         default:
                                 /* we don't need a message here - we give one 
up above */
+                               break;
                         }
                 } else {
                         printf ("No Device Function Table.\n");

-- 
Steven

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot-Users] PATCH: fix warning in common/altera.c
  2005-04-07  8:02 [U-Boot-Users] PATCH: fix warning in common/altera.c Steven Scholz
@ 2005-04-07 22:33 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2005-04-07 22:33 UTC (permalink / raw)
  To: u-boot

In message <4254E916.1020202@imc-berlin.de> you wrote:
> 
> Please consider this trivial patch to fix the compiler warning
> altera.c:162: warning: deprecated use of label at end of compound statement

Added, thanks.

Viele Gr??e,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If the facts don't fit the theory, change the facts.
                                                   -- Albert Einstein

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-04-07 22:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-07  8:02 [U-Boot-Users] PATCH: fix warning in common/altera.c Steven Scholz
2005-04-07 22:33 ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.