Skip to contentSkip to conversation

PATCH: fix warning in common/altera.c

U-Boot-Users Steven Scholz 2 participants 2 messages Apr 7, 2005

lore
Share & tools
lore
#0 lore raw

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

common/altera.c 7 Apr 2005 07:56:54 -0000 renamed from common/altera.c 9 Oct 2003 20:09:04 -0000 1.2 +0 -0
diff -u -r1.2 altera.c
@@ -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");
Signature · 1 line
Steven
#1 lore raw
Quoted 3 lines · In message <[email protected]> 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

Signature · 4 lines
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