8838 libxcurses: variable 'code' set but not used

Review Request #764 — Created Nov. 21, 2017 and submitted — Latest diff uploaded

tsoome
illumos-gate
8838
31baf5a...
general
../src/libc/xcurses/overlay.c: In function 'overlay':
../src/libc/xcurses/overlay.c:51:6: error: variable 'code' set but not used [-Werror=unused-but-set-variable]
  int code;
      ^~~~
../src/libc/xcurses/overlay.c: In function 'overwrite':
../src/libc/xcurses/overlay.c:67:6: error: variable 'code' set but not used [-Werror=unused-but-set-variable]
  int code;
      ^~~~
cc1: all warnings being treated as errors


Loading...