mirror of
https://github.com/radareorg/radare2.git
synced 2025-03-03 11:50:02 +00:00
Fix Coverity defects
Fix CID 1291594 Fix CID 1291593
This commit is contained in:
parent
9f8769b0f8
commit
53aef526b4
@ -430,7 +430,7 @@ static int cmd_cmp(void *data, const char *input) {
|
||||
cmd_cmp_disasm (core, input+2, 'c');
|
||||
} else {
|
||||
ut32 oflags = core->print->flags;
|
||||
ut64 addr;
|
||||
ut64 addr = 0; // TOTHINK: Not sure what default address should be
|
||||
if (input[1]=='c') { // "ccc"
|
||||
core->print->flags |= R_PRINT_FLAGS_DIFFOUT;
|
||||
addr = r_num_math (core->num, input+3);
|
||||
|
@ -178,7 +178,7 @@ static int cmd_write(void *data, const char *input) {
|
||||
char _fn[32];
|
||||
ut64 off;
|
||||
ut8 *buf;
|
||||
st64 num;
|
||||
st64 num = 0;
|
||||
const char* help_msg[] = {
|
||||
"Usage:","w[x] [str] [<file] [<<EOF] [@addr]","",
|
||||
"w","[1248][+-][n]","increment/decrement byte,word..",
|
||||
|
Loading…
x
Reference in New Issue
Block a user