diff --git a/src/poc/cjkscroll.c b/src/poc/cjkscroll.c index 17b78a494..2e92d0bff 100644 --- a/src/poc/cjkscroll.c +++ b/src/poc/cjkscroll.c @@ -8,7 +8,7 @@ int main(void){ if(nc == NULL){ return EXIT_FAILURE; } - int dimy, dimx, y, x; + int dimy, dimx; struct ncplane* n = notcurses_stddim_yx(nc, &dimy, &dimx); wchar_t wc = 0x4e00; ncplane_set_scrolling(n, true); diff --git a/src/poc/scroll.c b/src/poc/scroll.c index 936f8aa07..4eaa8b5d3 100644 --- a/src/poc/scroll.c +++ b/src/poc/scroll.c @@ -8,7 +8,7 @@ int main(void){ if(nc == NULL){ return EXIT_FAILURE; } - int dimy, dimx, y, x; + int dimy, dimx; struct ncplane* n = notcurses_stddim_yx(nc, &dimy, &dimx); char c = 'A'; ncplane_set_scrolling(n, true);