Fix two minor warnings (#12296)

This commit is contained in:
dav1901 2018-11-23 14:54:28 +02:00 committed by radare
parent 1c83de1e54
commit c82049aaad
2 changed files with 2 additions and 2 deletions

View File

@ -949,7 +949,7 @@ static int opdec(RAsm *a, ut8 *data, const Opcode *op) {
int reg = 0;
int rm;
bool use_sib = false;
int sib;
int sib = 0;
//mod
if (offset == 0) {
mod = 0;

View File

@ -1004,7 +1004,7 @@ R_API int offset_history_down(RLine *line) {
}
R_API void r_core_visual_offset(RCore *core) {
ut64 addr, bsze, newaddr;
ut64 addr, bsze, newaddr = 0LL;
char buf[256];
backup_current_addr (core, &addr, &bsze, &newaddr);