You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2018/10/15 23:38:36 UTC

[GitHub] ccollins476ad closed pull request #1459: test/runtest: Remove bogus strcpy

ccollins476ad closed pull request #1459: test/runtest: Remove bogus strcpy
URL: https://github.com/apache/mynewt-core/pull/1459
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/test/runtest/src/runtest.c b/test/runtest/src/runtest.c
index a5b57e8f4e..29b677e13b 100644
--- a/test/runtest/src/runtest.c
+++ b/test/runtest/src/runtest.c
@@ -271,11 +271,6 @@ runtest_evt_fn(struct os_event *ev)
         ts_config.ts_print_results = 0;
         ts_config.ts_system_assert = 0;
 
-        /* The specified "token" is appended to the end of every log message
-         * that is level INFO and above (i.e. not log_debug log messages)
-         */
-        strcpy(runtest_token, runtest_token);
-
         runtest_all = runtest_test_name[0] == '\0' ||
                       strcmp(runtest_test_name, "all") == 0;
 


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services