From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: [pktgen PATCH 2/6] fix screen type saving Date: Wed, 26 Jul 2017 01:21:03 +0300 Message-ID: <20170725222107.23203-3-thomas@monjalon.net> References: <20170725222107.23203-1-thomas@monjalon.net> Cc: dev@dpdk.org To: keith.wiles@intel.com Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 5C05337B4 for ; Wed, 26 Jul 2017 00:21:19 +0200 (CEST) In-Reply-To: <20170725222107.23203-1-thomas@monjalon.net> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Seen with clang: error: explicitly assigning value of variable of type 'int' to itself Signed-off-by: Thomas Monjalon --- 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