Skip to content

Commit

Permalink
fixing warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Jul 18, 2021
1 parent bba7488 commit f1a58a9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions fisher.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ void draw(void){
/*while(LEN< 15 || COL<80)
mvprintw(0,0,"Screen size should at least be 80*15 characters");*/
attron(colors[0]);
byte y,x;
filled_rect(0,0,12,80);
byte y;
mvprintw(0,0," __ Hooks:%d",hooknum);
mvprintw(1,0,"|__ Score:%d",score);
mvprintw(2,0,"| ISHER");
Expand Down Expand Up @@ -190,7 +190,6 @@ byte save_score(void){


void show_scores(byte playerrank){
byte y,x;
attron(colors[3]);
filled_rect(0,0,LEN,WID);
green_border();
Expand Down Expand Up @@ -368,7 +367,6 @@ int main(void){
flushinp();
}
}
End:
flushinp();
nocbreak();
cbreak();
Expand Down
1 change: 0 additions & 1 deletion snakeduel.c
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,6 @@ long decide(byte board[len][wid],snake *me,snake *enemy){
int dist=(y_dist+x_dist);
long g=go_deep(board,*me,1);
reportd(g);
long max_survival;
byte directions[4]={0,1,2,3};
long advantages[4]={0};
if(me->strategy==IMITATE ){
Expand Down

0 comments on commit f1a58a9

Please sign in to comment.