projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
common: compile libconsumer, libust-consumer, libkernel-consumer as C++
[lttng-tools.git]
/
src
/
common
/
index-allocator.c
diff --git
a/src/common/index-allocator.c
b/src/common/index-allocator.c
index 885015d77a3183ea1478b96a00bef87a2895faba..8c73218a950d5275ac70d163ace4893cb53439ea 100644
(file)
--- a/
src/common/index-allocator.c
+++ b/
src/common/index-allocator.c
@@
-5,7
+5,6
@@
*
*/
*
*/
-#include <assert.h>
#include <inttypes.h>
#include <urcu.h>
#include <inttypes.h>
#include <urcu.h>
@@
-91,7
+90,7
@@
enum lttng_index_allocator_status lttng_index_allocator_release(
enum lttng_index_allocator_status status =
LTTNG_INDEX_ALLOCATOR_STATUS_OK;
enum lttng_index_allocator_status status =
LTTNG_INDEX_ALLOCATOR_STATUS_OK;
-
assert
(idx < allocator->size);
+
LTTNG_ASSERT
(idx < allocator->size);
index = zmalloc(sizeof(*index));
if (!index) {
index = zmalloc(sizeof(*index));
if (!index) {
This page took
0.025728 seconds
and
4
git commands to generate.