projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move "active" code out of debug statements
[lttv.git]
/
lttv
/
lttv
/
main.c
diff --git
a/lttv/lttv/main.c
b/lttv/lttv/main.c
index eca23438b09cd6dc21eda2503598a777c65e705d..e894ac189b76ab7267c795f88b70c67547fc5895 100644
(file)
--- a/
lttv/lttv/main.c
+++ b/
lttv/lttv/main.c
@@
-95,6
+95,7
@@
int main(int argc, char **argv)
*profile_memory_long_option = "--memory";
gboolean profile_memory = FALSE;
*profile_memory_long_option = "--memory";
gboolean profile_memory = FALSE;
+ gboolean retval;
LttvAttributeValue value;
LttvAttributeValue value;
@@
-136,17
+137,21
@@
int main(int argc, char **argv)
/* Create a number of hooks lists */
/* Create a number of hooks lists */
- g_assert(lttv_iattribute_find_by_path(attributes, "hooks/options/before",
- LTTV_POINTER, &value));
+ retval= lttv_iattribute_find_by_path(attributes, "hooks/options/before",
+ LTTV_POINTER, &value);
+ g_assert(retval);
*(value.v_pointer) = before_options;
*(value.v_pointer) = before_options;
- g_assert(lttv_iattribute_find_by_path(attributes, "hooks/options/after",
- LTTV_POINTER, &value));
+ retval= lttv_iattribute_find_by_path(attributes, "hooks/options/after",
+ LTTV_POINTER, &value);
+ g_assert(retval);
*(value.v_pointer) = after_options;
*(value.v_pointer) = after_options;
- g_assert(lttv_iattribute_find_by_path(attributes, "hooks/main/before",
- LTTV_POINTER, &value));
+ retval= lttv_iattribute_find_by_path(attributes, "hooks/main/before",
+ LTTV_POINTER, &value);
+ g_assert(retval);
*(value.v_pointer) = before_main;
*(value.v_pointer) = before_main;
- g_assert(lttv_iattribute_find_by_path(attributes, "hooks/main/after",
- LTTV_POINTER, &value));
+ retval= lttv_iattribute_find_by_path(attributes, "hooks/main/after",
+ LTTV_POINTER, &value);
+ g_assert(retval);
*(value.v_pointer) = after_main;
*(value.v_pointer) = after_main;
This page took
0.024581 seconds
and
4
git commands to generate.