Merge branch 'for-viro' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi...
[deliverable/linux.git] / tools / objtool / builtin-check.c
index 25d803148f5c6e0c9bb3109db1616a2e95fd4359..17fa7fc34fdf42c3c2d2cdb5bc98d47aac6bcab3 100644 (file)
@@ -26,6 +26,7 @@
  */
 
 #include <string.h>
+#include <stdlib.h>
 #include <subcmd/parse-options.h>
 
 #include "builtin.h"
@@ -667,7 +668,7 @@ static int add_func_switch_tables(struct objtool_file *file,
                                  struct symbol *func)
 {
        struct instruction *insn, *prev_jump;
-       struct rela *text_rela, *rodata_rela, *prev_rela;
+       struct rela *text_rela, *rodata_rela, *prev_rela = NULL;
        int ret;
 
        prev_jump = NULL;
This page took 0.026128 seconds and 5 git commands to generate.