From: Erik M. <er...@us...> - 2001-07-18 23:53:55
|
Update of /cvsroot/blob/blob/src In directory usw-pr-cvs1:/tmp/cvs-serv27342/src Modified Files: Tag: blob_1_0_9_hack flash.c Log Message: - Forgot to save the ChangeLog :) - Get rid of compiler warnings Index: flash.c =================================================================== RCS file: /cvsroot/blob/blob/src/flash.c,v retrieving revision 1.1.1.1.2.2 retrieving revision 1.1.1.1.2.3 diff -u -r1.1.1.1.2.2 -r1.1.1.1.2.3 --- flash.c 2001/07/18 23:49:41 1.1.1.1.2.2 +++ flash.c 2001/07/18 23:53:52 1.1.1.1.2.3 @@ -147,6 +147,10 @@ thisBlock = (char *)INITRD_START; numBlocks = NUM_INITRD_BLOCKS; break; + + default: + /* this should not happen */ + return; } for(i = 0; i < numBlocks; i++, thisBlock += MAIN_BLOCK_SIZE) { @@ -195,6 +199,10 @@ flashBase = (u32 *)INITRD_START; maxLength = INITRD_LEN; break; + + default: + /* this should not happen */ + return; } if(length > maxLength) |