[intro] kill unused param warnings

pull/1477/head
nick black 4 years ago
parent f887b5a122
commit cd6b9c2c87

@ -29,7 +29,7 @@ animate(struct notcurses* nc, struct ncplane* ncp, void* curry){
}
static int
greatscott(struct notcurses* nc, int dimy, int dimx){
greatscott(struct notcurses* nc){
char* path = find_data("greatscott.jpg");
if(path == NULL){
return -1;
@ -247,7 +247,7 @@ int intro(struct notcurses* nc){
ncplane_destroy(on);
if(notcurses_check_pixel_support(nc) && notcurses_canopen_images(nc)){
int err;
if((err = greatscott(nc, rows, cols))){
if((err = greatscott(nc))){
return err;
}
}

Loading…
Cancel
Save