Author: stepan Date: 2009-07-26 17:11:53 +0200 (Sun, 26 Jul 2009) New Revision: 4468
Modified: trunk/coreboot-v2/util/cbfstool/add.c Log: drop dead nested assignment (trivial) Signed-off-by: Stefan Reinauer <[email protected]> Acked-by: Stefan Reinauer <[email protected]> Modified: trunk/coreboot-v2/util/cbfstool/add.c =================================================================== --- trunk/coreboot-v2/util/cbfstool/add.c 2009-07-26 15:05:40 UTC (rev 4467) +++ trunk/coreboot-v2/util/cbfstool/add.c 2009-07-26 15:11:53 UTC (rev 4468) @@ -254,14 +254,12 @@ return -1; } - int component_type; - /* There are two ways to specify the type - a string or a number */ if (isdigit(*(argv[2]))) type = strtoul(argv[2], 0, 0); else { - switch( component_type = select_component_type(argv[2])) { + switch(select_component_type(argv[2])) { case 0: type = CBFS_COMPONENT_STAGE; break; -- coreboot mailing list: [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

