From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id ADCB020D6B; Tue, 25 Jul 2017 18:21:18 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 25 Jul 2017 18:21:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=AA2 +6wnGwtlggXQSHQrfVCRd+3AtUV3Vjvb0wW3xVNY=; b=PXWDwW0MNyfSAe/p66J TPfqkv8ofqUds8+follnjbPqk2eL+CGbpZvOlzfG93nFf6u9yTblGHNRLxlxqMIR 9uD+g5lA3lMRE5UttTWbJYwp7WQb1sygrZOda5XYNgy9zVo3m6AO01kDDFsl2Jys vDr3v1xu2rJ05lnA7hU4imko= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=AA2+6wnGwtlggXQSHQrfVCRd+3AtUV3Vjvb0wW3xV NY=; b=NsbLtQPEdNiCxXPTj7j1dNS6c6MS1+EMkUpWCIyD01ElSDLO0XMzq/vzQ QrauoXOK309nleUzN+iMT42wRmlVwMBv9bxnSIv4w4vxqoodHGu8n5jgy3JDw/n1 vo77OGzMayrTdcPBRt38oDeh5LINM2SBsXw3DFFE6vMr2XMuCat8TYGVaoSfX49e cqJUMEXDbzz/gascwWqS2B050a+YerYqAFH1vTrVnthhKzMr156RNks9+LwELX3v 4Z/NQ3Rtd7LVN67cLrLf7cMCmqwKpU5JJZp5QZkbxwnLQ/mY/A9niqhbtbGtWQRv CI7EYgNAoa6vCO0tYYrv+z5WeAO0w== X-ME-Sender: X-Sasl-enc: Yi7dKZw+7TkbcRBDG3riyjOKN1Ing312vkT3GBqwI6v9 1501021278 Received: from xps.domain.com (bzq-164-168-31-206.red.bezeqint.net [31.168.164.206]) by mail.messagingengine.com (Postfix) with ESMTPA id C8351241D9; Tue, 25 Jul 2017 18:21:17 -0400 (EDT) From: Thomas Monjalon To: keith.wiles@intel.com Cc: dev@dpdk.org Date: Wed, 26 Jul 2017 01:21:03 +0300 Message-Id: <20170725222107.23203-3-thomas@monjalon.net> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170725222107.23203-1-thomas@monjalon.net> References: <20170725222107.23203-1-thomas@monjalon.net> Subject: [dpdk-dev] [pktgen PATCH 2/6] fix screen type saving X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jul 2017 22:21:20 -0000 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