Port: Include config.h globally trough DEFAULT_INCLUDES
[babeltrace.git] / converter / babeltrace.c
index c53c4800046923a616ef9f6d583fd7753df7b692..c521ac1516c459641b24ec476f4c425ad09fcfe4 100644 (file)
@@ -26,8 +26,6 @@
  * SOFTWARE.
  */
 
-#define _GNU_SOURCE
-#include <config.h>
 #include <babeltrace/babeltrace.h>
 #include <babeltrace/format.h>
 #include <babeltrace/context.h>
@@ -509,8 +507,6 @@ int bt_context_add_traces_recursive(struct bt_context *ctx, const char *path,
                if (ret < 0) {
                        fprintf(stderr, "[warning] [Context] cannot open trace \"%s\" "
                                        "for reading.\n", path);
-                       /* Allow to skip erroneous traces. */
-                       ret = 1;        /* partial error */
                }
                return ret;
        }
This page took 0.022955 seconds and 4 git commands to generate.