projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: elf: uninitialized ret
[lttng-ust.git]
/
liblttng-ust
/
lttng-ust-elf.c
diff --git
a/liblttng-ust/lttng-ust-elf.c
b/liblttng-ust/lttng-ust-elf.c
index 0df70973fd7906f57d32e0289937bcbf861d7d1a..e71436b422fd0ca202c3fc6ed65abc670774a6b9 100644
(file)
--- a/
liblttng-ust/lttng-ust-elf.c
+++ b/
liblttng-ust/lttng-ust-elf.c
@@
-507,7
+507,7
@@
int lttng_ust_elf_get_build_id(struct lttng_ust_elf *elf, uint8_t **build_id,
for (i = 0; i < elf->ehdr->e_phnum; ++i) {
uint64_t offset, segment_end;
struct lttng_ust_elf_phdr *phdr;
- int ret;
+ int ret
= 0
;
phdr = lttng_ust_elf_get_phdr(elf, i);
if (!phdr) {
This page took
0.023927 seconds
and
4
git commands to generate.