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;
|
||||
default:
|
||||
graph_height=1;
|
||||
graph_height=41;
|
||||
graph_width=41;
|
||||
break;
|
||||
}
|
||||
int starty,startx,boxwidth;
|
||||
starty=height/2-graph_height/2;
|
||||
startx=width/2-graph_width/2;
|
||||
|
||||
int fetch_arrow_enter_y;
|
||||
int decode_arrow_exit_y;
|
||||
int exec_arrow_y;
|
||||
switch(simdata->cpu_structure){
|
||||
case CPU_STRUCTURE_SIMPLE_PIPELINED:
|
||||
int fetch_arrow_enter_y;
|
||||
int decode_arrow_exit_y;
|
||||
int exec_arrow_y;
|
||||
boxwidth=50;
|
||||
|
||||
/* FETCH BOX */
|
||||
|
Loading…
Reference in New Issue
Block a user