to be sure, initialize arch_init[] with NULL

This commit is contained in:
Nguyen Anh Quynh 2013-12-22 13:37:13 +08:00
parent 0655fe4b50
commit 58747adcbb
1 changed files with 1 additions and 1 deletions

2
cs.c
View File

@ -12,7 +12,7 @@
#include "utils.h"
void (*arch_init[MAX_ARCH]) (cs_struct *);
void (*arch_init[MAX_ARCH])(cs_struct *) = { NULL };
cs_err (*arch_option[MAX_ARCH]) (cs_struct*, cs_opt_type, size_t value);
unsigned int all_arch = 0;