public inbox for u-boot@lists.denx.de
 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

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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox