projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use compiler-agnostic defines to silence warning
[lttng-tools.git]
/
src
/
common
/
actions
/
snapshot-session.cpp
diff --git
a/src/common/actions/snapshot-session.cpp
b/src/common/actions/snapshot-session.cpp
index 23d6f8a56db3c1c21539068d5a0d6f784673927b..015a834ddfe52e468fe1ea359e3129fa8b946b12 100644
(file)
--- a/
src/common/actions/snapshot-session.cpp
+++ b/
src/common/actions/snapshot-session.cpp
@@
-117,7
+117,7
@@
static bool lttng_action_snapshot_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);
- if (strcmp(a->session_name, b->session_name)) {
+ if (strcmp(a->session_name, b->session_name)
!= 0
) {
goto end;
}
This page took
0.024669 seconds
and
4
git commands to generate.