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 2021/05/31 10:32:12 UTC

[GitHub] [mynewt-core] kasjer commented on a change in pull request #2608: sys/log/stub: avoid unused parameter warning

kasjer commented on a change in pull request #2608:
URL: https://github.com/apache/mynewt-core/pull/2608#discussion_r642389808



##########
File path: sys/log/stub/include/log/log.h
##########
@@ -43,38 +43,62 @@ static inline int
 log_register(const char *name, struct log *log, const struct log_handler *h,
              void *arg, uint8_t level)
 {
+    (void)name;
+    (void)log;
+    (void)log_handler;

Review comment:
       @fjmolinas maybe you don't have access to travis output to see why build failed.
   
   ```c
   (void)log_handler;
   ```
   should be
   ```c
   (void)h;
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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