This is an automated email from Gerrit. Øyvind Harboe (oyvindhar...@gmail.com) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/116
-- gerrit commit 23da86bf203065c8157c5985cdc9bfcb08ce9a4f Author: Øyvind Harboe <oyvind.har...@zylin.com> Date: Mon Oct 24 18:11:43 2011 +0200 warning: silence gcc by initializing local variables GCC doesn't understand that these are in fact initialized if they are used. Change-Id: I01988adb0547f785b48d869ddbe44cc17dca4739 Signed-off-by: Øyvind Harboe <oyvind.har...@zylin.com> diff --git a/src/target/arm_adi_v5.c b/src/target/arm_adi_v5.c index 7f89f2e..9ea7b5a 100644 --- a/src/target/arm_adi_v5.c +++ b/src/target/arm_adi_v5.c @@ -1352,7 +1352,7 @@ static int dap_info_command(struct command_context *cmd_ctx, struct adiv5_dap *dap, int ap) { int retval; - uint32_t dbgbase, apid; + uint32_t dbgbase = 0, apid = 0; /* Silence gcc by initializing */ int romtable_present = 0; uint8_t mem_ap; uint32_t ap_old; -- _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development