projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cleanup: remove redundant assignment
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
context.c
diff --git
a/src/bin/lttng-sessiond/context.c
b/src/bin/lttng-sessiond/context.c
index a83cb46fc9dec796868dbb95157d901cb46cdb70..b55254b4e398d0bfd55604c5fb8353dd3ba7f43a 100644
(file)
--- a/
src/bin/lttng-sessiond/context.c
+++ b/
src/bin/lttng-sessiond/context.c
@@
-262,7
+262,7
@@
int context_ust_add(struct ltt_ust_session *usess, int domain,
}
/* Get UST channel if defined */
- if (channel_name != '\0') {
+ if (channel_name
[0]
!= '\0') {
uchan = trace_ust_find_channel_by_name(chan_ht, channel_name);
if (uchan == NULL) {
ret = LTTNG_ERR_UST_CHAN_NOT_FOUND;
This page took
0.024506 seconds
and
5
git commands to generate.