]> git.sur5r.net Git - openocd/blobdiff - src/target/arm966e.c
marked infinite loop in code w/TODO and fixed warning.
[openocd] / src / target / arm966e.c
index 4ba5d8526334f887e23abb4d11207bb2e49dc511..2b3f86a406f0238efdbbe052d15570068d1eed2d 100644 (file)
@@ -125,6 +125,7 @@ int arm966e_target_command(struct command_context_s *cmd_ctx, char *cmd, char **
        int chain_pos;
        char *variant = NULL;
        arm966e_common_t *arm966e = malloc(sizeof(arm966e_common_t));
+       memset(arm966e, 0, sizeof(*arm966e));
        
        if (argc < 4)
        {