projects
/
lttng-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
271933a
)
Fix possible use of uninitialized variable
author
David Goulet
<david.goulet@polymtl.ca>
Tue, 4 Oct 2011 14:54:05 +0000
(10:54 -0400)
committer
David Goulet
<david.goulet@polymtl.ca>
Tue, 4 Oct 2011 14:54:05 +0000
(10:54 -0400)
Signed-off-by: David Goulet <david.goulet@polymtl.ca>
ltt-sessiond/main.c
patch
|
blob
|
blame
|
history
diff --git
a/ltt-sessiond/main.c
b/ltt-sessiond/main.c
index edeb86d29d5b168b795af6869ef5dce86811971a..46c98a5611b9e818c0c99e7e7a64bcd56a02b60e 100644
(file)
--- a/
ltt-sessiond/main.c
+++ b/
ltt-sessiond/main.c
@@
-1573,7
+1573,7
@@
static int create_ust_session(struct ltt_session *session,
struct lttng_domain *domain)
{
int ret;
- struct ltt_ust_session *lus;
+ struct ltt_ust_session *lus
= NULL
;
struct ust_app *app;
switch (domain->type) {
@@
-1585,6
+1585,7
@@
static int create_ust_session(struct ltt_session *session,
}
break;
default:
+ ret = LTTCOMM_UNKNOWN_DOMAIN;
goto error;
}
This page took
0.028268 seconds
and
4
git commands to generate.