From 7409dd57bb73e75908547df69ba0ddaafdb0c427 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 22 May 2019 08:22:12 -0600 Subject: [PATCH] Fix a warning found in build testing. --- graphics/twm4nx/README.txt | 2 ++ nshlib/nsh_telnetd.c | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/graphics/twm4nx/README.txt b/graphics/twm4nx/README.txt index 17a08c300..fc583696a 100644 --- a/graphics/twm4nx/README.txt +++ b/graphics/twm4nx/README.txt @@ -162,6 +162,8 @@ Issues: menu just as any other region of the background. This would be easy to fix, but just replacing the background image widget and drawing directly on the background which is the better solution anyway. + NOTE: There is a configuration option that will eliminate the background + image. The CONTEMPORARY theme, for example, has no background image. 7. There are a few color artifacts in the toolbar of the CONTEMPORARY theme. These look like borders are being drawn around the toolbar widgets (even though the are configured to be borderless). diff --git a/nshlib/nsh_telnetd.c b/nshlib/nsh_telnetd.c index f3d73a8c7..70aca88be 100644 --- a/nshlib/nsh_telnetd.c +++ b/nshlib/nsh_telnetd.c @@ -90,7 +90,7 @@ static int nsh_telnetmain(int argc, char *argv[]) DEBUGASSERT(pstate != NULL); vtbl = &pstate->cn_vtbl; - _info("Session [%d] Started\n", getpid()); + ninfo("Session [%d] Started\n", getpid()); #ifdef CONFIG_NSH_TELNET_LOGIN /* Login User and Password Check */ @@ -207,6 +207,7 @@ static int nsh_telnetmain(int argc, char *argv[]) /* We do not get here, but this is necessary to keep some compilers happy */ + UNUSED(ret); return OK; } @@ -272,7 +273,7 @@ int nsh_telnetstart(sa_family_t family) /* Start the telnet daemon */ - _info("Starting the Telnet daemon\n"); + ninfo("Starting the Telnet daemon\n"); ret = telnetd_start(&config); if (ret < 0)