Committed this simple warning fix.
======================

du...@desk ~/test/openocd/src/target
$ svn diff
Index: arm_disassembler.c
===================================================================
--- arm_disassembler.c  (revision 2657)
+++ arm_disassembler.c  (working copy)
@@ -445,6 +445,9 @@
        unsigned rn = (opcode >> 16) & 0xf;
        char *type, *rot;

+       /* GCC 'uninitialized warning removal' */
+       type = rot = NULL;
+
        switch ((opcode >> 24) & 0x3) {
        case 0:
                type = "B16";

du...@desk ~/test/openocd/src/target
$ svn commit -m'Warning fix'
Sending        target/arm_disassembler.c
Transmitting file data .
Committed revision 2658.


_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to