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
/
bin
/
lttng
/
commands
/
add_context.cpp
diff --git
a/src/bin/lttng/commands/add_context.cpp
b/src/bin/lttng/commands/add_context.cpp
index cc5e487df3b8b0d8398c32a7c229af07f061f4c9..79142cc65f29522e629d7bc2fede64f01c4d0c9f 100644
(file)
--- a/
src/bin/lttng/commands/add_context.cpp
+++ b/
src/bin/lttng/commands/add_context.cpp
@@
-976,7
+976,7
@@
static struct ctx_type *get_context_type(const char *ctx)
}
/* String starts with $app. */
- if (strncmp(ctx, app_ctx_prefix, sizeof(app_ctx_prefix) - 1)) {
+ if (strncmp(ctx, app_ctx_prefix, sizeof(app_ctx_prefix) - 1)
!= 0
) {
goto not_found;
}
This page took
0.022631 seconds
and
4
git commands to generate.