Seen with clang: error: explicitly assigning value of variable of type 'int' to itself
Signed-off-by: Thomas Monjalon <tho...@monjalon.net> --- lib/cli/cli_scrn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cli/cli_scrn.c b/lib/cli/cli_scrn.c index be7df4a..b195e92 100644 --- a/lib/cli/cli_scrn.c +++ b/lib/cli/cli_scrn.c @@ -160,7 +160,7 @@ scrn_create(int scrn_type, int16_t nrows, int16_t ncols, int theme) scrn->nrows = nrows; scrn->ncols = ncols; scrn->theme = theme; - scrn_type = scrn_type; + scrn->type = scrn_type; if (scrn_type == SCRN_STDIN_TYPE) { if (scrn_stdin_setup()) { -- 2.13.2