projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: argpar.c: logically dead code
[babeltrace.git]
/
src
/
argpar
/
argpar.c
diff --git
a/src/argpar/argpar.c
b/src/argpar/argpar.c
index fe78a008a5eebba4c8dc9cae982d64a0b25858c6..d3451207f548127ad34f41dbc77fd8b934fc398e 100644
(file)
--- a/
src/argpar/argpar.c
+++ b/
src/argpar/argpar.c
@@
-64,7
+64,7
@@
struct bt_argpar_item_opt *create_opt_item(
if (arg) {
opt_item->arg = g_strdup(arg);
- if (!opt_item) {
+ if (!opt_item
->arg
) {
goto error;
}
}
This page took
0.024103 seconds
and
4
git commands to generate.