This is an automated email from Gerrit.

Paul Fertser ([email protected]) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/1489

-- gerrit

commit 4a105b808f0253afdae73d3fdc27000c77b9bb68
Author: Paul Fertser <[email protected]>
Date:   Mon Jul 8 10:08:58 2013 +0400

    target: remove double const specificator
    
    Double const is bogus and breaks the build on Clang 3.3.
    
    Change-Id: I9f9394d17f66289ac74ae6dd48f3165483b72e9e
    Signed-off-by: Paul Fertser <[email protected]>

diff --git a/src/target/target.c b/src/target/target.c
index 4649541..a5c7b30 100644
--- a/src/target/target.c
+++ b/src/target/target.c
@@ -5022,7 +5022,7 @@ static int target_create(Jim_GetOptInfo *goi)
        }
 
        /* now - create the new target name command */
-       const const struct command_registration target_subcommands[] = {
+       const struct command_registration target_subcommands[] = {
                {
                        .chain = target_instance_command_handlers,
                },
@@ -5031,7 +5031,7 @@ static int target_create(Jim_GetOptInfo *goi)
                },
                COMMAND_REGISTRATION_DONE
        };
-       const const struct command_registration target_commands[] = {
+       const struct command_registration target_commands[] = {
                {
                        .name = cp,
                        .mode = COMMAND_ANY,

-- 

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to