This is an automated email from Gerrit.

Uwe Kleine-König ([email protected]) just uploaded a new patch set 
to Gerrit, which you can find at http://openocd.zylin.com/2430

-- gerrit

commit 91384a76e89d4427152be8bc1047c6f3a4f27a23
Author: Uwe Kleine-König <[email protected]>
Date:   Tue Dec 9 11:11:30 2014 +0100

    ARMv7-A: remove useless case label
    
    The default label does just return the same error code, so rely on this
    one for simplicity.
    
    Change-Id: I61a8cb51b5e261f21eca386af7d8cbf17ffa2d44
    Signed-off-by: Uwe Kleine-König <[email protected]>

diff --git a/src/target/armv7a.c b/src/target/armv7a.c
index bf474d3..af4a50c 100644
--- a/src/target/armv7a.c
+++ b/src/target/armv7a.c
@@ -498,9 +498,6 @@ COMMAND_HANDLER(handle_cache_l2x)
        struct target *target = get_current_target(CMD_CTX);
        uint32_t base, way;
        switch (CMD_ARGC) {
-               case 0:
-                       return ERROR_COMMAND_SYNTAX_ERROR;
-                       break;
                case 2:
                        /* command_print(CMD_CTX, "%s %s", CMD_ARGV[0], 
CMD_ARGV[1]); */
                        COMMAND_PARSE_NUMBER(u32, CMD_ARGV[0], base);

-- 

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to