Fixed compilation warnings.
This commit is contained in:
parent
4acc170901
commit
39b71c5292
2
rtools.c
2
rtools.c
|
@ -553,7 +553,7 @@ static int find_possible_edges(int offset, int len, uint8_t *memory,
|
|||
static int add_nodes_from_edges(struct call_graph *graph)
|
||||
{
|
||||
int i;
|
||||
uint16_t last_addr;
|
||||
uint16_t last_addr = 0;
|
||||
int have_last_addr = 0;
|
||||
|
||||
qsort(graph->edge_from.ptr, graph->edge_from.size,
|
||||
|
|
2
sim.c
2
sim.c
|
@ -281,7 +281,7 @@ static int step_single(struct sim_device *dev, uint16_t ins)
|
|||
uint32_t mask = is_byte ? 0xff : 0xffff;
|
||||
uint16_t src_addr = 0;
|
||||
uint32_t src_data;
|
||||
uint32_t res_data;
|
||||
uint32_t res_data = 0;
|
||||
|
||||
if (fetch_operand(dev, amode, reg, is_byte, &src_addr, &src_data) < 0)
|
||||
return -1;
|
||||
|
|
Loading…
Reference in New Issue