Move "active" code out of debug statements
[lttv.git] / lttv / lttv / main.c
index eca23438b09cd6dc21eda2503598a777c65e705d..e894ac189b76ab7267c795f88b70c67547fc5895 100644 (file)
@@ -95,6 +95,7 @@ int main(int argc, char **argv)
     *profile_memory_long_option = "--memory";
 
   gboolean profile_memory = FALSE;
+  gboolean retval;
 
   LttvAttributeValue value;
 
@@ -136,17 +137,21 @@ int main(int argc, char **argv)
 
   /* 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;
-  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;
-  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;
-  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;
 
 
This page took 0.02363 seconds and 4 git commands to generate.