projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace all assert(false) and assert(0) with abort()
[babeltrace.git]
/
lib
/
plugin
/
plugin-so.c
diff --git
a/lib/plugin/plugin-so.c
b/lib/plugin/plugin-so.c
index 4c390b76e53f8d15067876d8c41d6274732d9707..f1fa9f71b2a37a298f773ad234c9d5eae372ad70 100644
(file)
--- a/
lib/plugin/plugin-so.c
+++ b/
lib/plugin/plugin-so.c
@@
-36,6
+36,7
@@
#include <babeltrace/graph/component-class-internal.h>
#include <babeltrace/types.h>
#include <string.h>
#include <babeltrace/graph/component-class-internal.h>
#include <babeltrace/types.h>
#include <string.h>
+#include <stdlib.h>
#include <glib.h>
#include <gmodule.h>
#include <glib.h>
#include <gmodule.h>
@@
-635,8
+636,7
@@
enum bt_plugin_status bt_plugin_so_init(
case BT_COMPONENT_CLASS_TYPE_SINK:
break;
default:
case BT_COMPONENT_CLASS_TYPE_SINK:
break;
default:
- assert(BT_FALSE);
- break;
+ abort();
}
/*
}
/*
This page took
0.022568 seconds
and
4
git commands to generate.