You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ha...@apache.org on 2022/06/02 08:10:32 UTC

[mynewt-nimble] 01/07: transport/monitor: fix unused variable warnings

This is an automated email from the ASF dual-hosted git repository.

hauke pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git

commit b752f1bedca422e1d55f102ea8e23a17eb25ec78
Author: Hauke Petersen <ha...@fu-berlin.de>
AuthorDate: Thu Apr 28 11:59:37 2022 +0200

    transport/monitor: fix unused variable warnings
---
 nimble/transport/include/nimble/transport/monitor.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/nimble/transport/include/nimble/transport/monitor.h b/nimble/transport/include/nimble/transport/monitor.h
index 6b56f123..623dc54a 100644
--- a/nimble/transport/include/nimble/transport/monitor.h
+++ b/nimble/transport/include/nimble/transport/monitor.h
@@ -35,6 +35,8 @@ int ble_monitor_log(int level, const char *fmt, ...);
 static inline int
 ble_monitor_log(int level, const char *fmt, ...)
 {
+    (void)level;
+    (void)fmt;
     return 0;
 }