projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
clang-tidy: add most bugprone warnings
[lttng-tools.git]
/
src
/
common
/
actions
/
rotate-session.cpp
diff --git
a/src/common/actions/rotate-session.cpp
b/src/common/actions/rotate-session.cpp
index c2b962ab6d94b893177c39d44226f63891103a92..8997542e9358a91f074a821d5db3182af380b5e8 100644
(file)
--- a/
src/common/actions/rotate-session.cpp
+++ b/
src/common/actions/rotate-session.cpp
@@
-96,7
+96,7
@@
static bool lttng_action_rotate_session_is_equal(const struct lttng_action *_a,
/* Action is not valid if this is not true. */
LTTNG_ASSERT(a->session_name);
LTTNG_ASSERT(b->session_name);
/* Action is not valid if this is not true. */
LTTNG_ASSERT(a->session_name);
LTTNG_ASSERT(b->session_name);
- if (strcmp(a->session_name, b->session_name)) {
+ if (strcmp(a->session_name, b->session_name)
!= 0
) {
goto end;
}
goto end;
}
This page took
0.022811 seconds
and
4
git commands to generate.