clang-tidy: sessiond: superfluous static specifier
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 29 May 2024 18:32:44 +0000 (18:32 +0000)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 27 Jun 2024 15:09:21 +0000 (11:09 -0400)
clang-tidy reports:
'get_session_registry' is a static definition in anonymous namespace; static is redundant here

Remove the redundant static specifier.

Change-Id: Iae7be221cde1f0789d3c3a560f1ea70d4d4e5e7a
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/ust-app.cpp

index 8f0375bc5c5f2d5e6d969ccd8f191f4bc305dbf3..6e7b3f5e1deadc0af7fd1203ccfef20d81805e35 100644 (file)
@@ -85,7 +85,7 @@ namespace {
  * A registry per UID object MUST exists before calling this function or else
  * it LTTNG_ASSERT() if not found. RCU read side lock must be acquired.
  */
-static lsu::registry_session *get_session_registry(const struct ust_app_session *ua_sess)
+lsu::registry_session *get_session_registry(const struct ust_app_session *ua_sess)
 {
        lsu::registry_session *registry = nullptr;
 
This page took 0.026489 seconds and 4 git commands to generate.