Project: fixed some errors found by clang
This commit is contained in:
parent
51c8edf43f
commit
3f4b03c307
@ -35,18 +35,18 @@ int update_internals(WINDOW *win,struct simdata_t *simdata){
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
graph_height=1;
|
graph_height=1;
|
||||||
graph_height=41;
|
graph_width=41;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
int starty,startx,boxwidth;
|
int starty,startx,boxwidth;
|
||||||
starty=height/2-graph_height/2;
|
starty=height/2-graph_height/2;
|
||||||
startx=width/2-graph_width/2;
|
startx=width/2-graph_width/2;
|
||||||
|
|
||||||
switch(simdata->cpu_structure){
|
|
||||||
case CPU_STRUCTURE_SIMPLE_PIPELINED:
|
|
||||||
int fetch_arrow_enter_y;
|
int fetch_arrow_enter_y;
|
||||||
int decode_arrow_exit_y;
|
int decode_arrow_exit_y;
|
||||||
int exec_arrow_y;
|
int exec_arrow_y;
|
||||||
|
switch(simdata->cpu_structure){
|
||||||
|
case CPU_STRUCTURE_SIMPLE_PIPELINED:
|
||||||
boxwidth=50;
|
boxwidth=50;
|
||||||
|
|
||||||
/* FETCH BOX */
|
/* FETCH BOX */
|
||||||
|
Loading…
Reference in New Issue
Block a user