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
/
conditions
/
session-rotation.cpp
diff --git
a/src/common/conditions/session-rotation.cpp
b/src/common/conditions/session-rotation.cpp
index c62b5b38a1274ba25e3b94356f14f316478e475b..20af727cf8ff29feea0d6023208c0141b45dc70f 100644
(file)
--- a/
src/common/conditions/session-rotation.cpp
+++ b/
src/common/conditions/session-rotation.cpp
@@
-133,7
+133,7
@@
static bool lttng_condition_session_rotation_is_equal(const struct lttng_conditi
goto end;
}
goto end;
}
- if (a->session_name && b->session_name && strcmp(a->session_name, b->session_name)) {
+ if (a->session_name && b->session_name && strcmp(a->session_name, b->session_name)
!= 0
) {
goto end;
}
goto end;
}
This page took
0.022706 seconds
and
4
git commands to generate.