From: Thomas Monjalon <thomas@monjalon.net>
To: keith.wiles@intel.com
Cc: dev@dpdk.org
Subject: [dpdk-dev] [pktgen PATCH 2/6] fix screen type saving
Date: Wed, 26 Jul 2017 01:21:03 +0300 [thread overview]
Message-ID: <20170725222107.23203-3-thomas@monjalon.net> (raw)
In-Reply-To: <20170725222107.23203-1-thomas@monjalon.net>
Seen with clang:
error: explicitly assigning value of variable of type 'int' to itself
Signed-off-by: Thomas Monjalon <thomas@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
next prev parent reply other threads:[~2017-07-25 22:21 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-25 22:21 [dpdk-dev] [pktgen PATCH 0/6] fix compilation Thomas Monjalon
2017-07-25 22:21 ` [dpdk-dev] [pktgen PATCH 1/6] remove unused functions Thomas Monjalon
2017-07-25 22:21 ` Thomas Monjalon [this message]
2017-07-25 22:21 ` [dpdk-dev] [pktgen PATCH 3/6] fix compilation of printf based functions Thomas Monjalon
2017-07-25 22:21 ` [dpdk-dev] [pktgen PATCH 4/6] fix compilation with gcc 7 Thomas Monjalon
2017-07-25 22:21 ` [dpdk-dev] [pktgen PATCH 5/6] fix 32-bit build Thomas Monjalon
2017-07-25 22:21 ` [dpdk-dev] [pktgen PATCH 6/6] fix build with dpdk-17.08-rc2 Thomas Monjalon
2017-07-26 3:54 ` [dpdk-dev] [pktgen PATCH 0/6] fix compilation Wiles, Keith
2017-07-26 4:40 ` Roberts, Lee A.
2017-07-26 5:39 ` Thomas Monjalon
2017-07-26 14:35 ` [dpdk-dev] hierarchy_commit() message displayed when not using TM Wiles, Keith
2017-07-26 14:58 ` Lu, Wenzhuo
2017-07-26 14:52 ` [dpdk-dev] [pktgen PATCH 0/6] fix compilation Wiles, Keith
2017-07-26 15:01 ` Thomas Monjalon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170725222107.23203-3-thomas@monjalon.net \
--to=thomas@monjalon.net \
--cc=dev@dpdk.org \
--cc=keith.wiles@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).