[U-Boot-Users] PATCH: fix warning in common/altera.c

Steven Scholz steven.scholz at imc-berlin.de
Thu Apr 7 10:02:30 CEST 2005


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




More information about the U-Boot mailing list