fix a few warnings

This commit is contained in:
condret 2016-01-27 12:39:50 +00:00
parent c9779da737
commit edc7ec2c61
3 changed files with 8 additions and 3 deletions

View File

@ -97,9 +97,8 @@ static int rasm_show_help(int v) {
static int rasm_disasm(char *buf, ut64 offset, int len, int bits, int ascii, int bin, int hex) {
RAsmCode *acode;
ut8 *data = NULL;
char *ptr = buf;
int ret = 0;
ut64 word = 0, clen = 0;
ut64 clen = 0;
if (bits == 1)
len /= 8;

View File

@ -135,7 +135,10 @@ R_API char *r_meta_get_string(RAnal *a, int type, ut64 addr) {
}
R_API int r_meta_del(RAnal *a, int type, ut64 addr, ut64 size, const char *str) {
char key[100], key2[100], *dtr, *s, *p, *next;
char key[100], *dtr, *s, *p, *next;
#if 0
char key2[100];
#endif
const char *ptr;
int i;
if (size == UT64_MAX) {

View File

@ -195,6 +195,9 @@ static int analop64_esil(RAnal *a, RAnalOp *op, ut64 addr, const ut8 *buf, int l
case ARM_CC_NE:
r_strbuf_setf (&op->esil, "zf,!,{,%"PFMT64d",pc,=,}", (ut64)addr + IMM64 (0));
break;
default:
//TODO
break;
}
break;
case ARM64_INS_BL: