projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Force usage of assert() condition when NDEBUG is defined
[lttng-tools.git]
/
src
/
bin
/
lttng-relayd
/
tracefile-array.c
diff --git
a/src/bin/lttng-relayd/tracefile-array.c
b/src/bin/lttng-relayd/tracefile-array.c
index 05ce3ad34520c9f09c7bb91fe2b235684c2a106d..996c43e45363ca51bdead1a70323210e21f332ab 100644
(file)
--- a/
src/bin/lttng-relayd/tracefile-array.c
+++ b/
src/bin/lttng-relayd/tracefile-array.c
@@
-6,7
+6,6
@@
*/
#define _LGPL_SOURCE
*/
#define _LGPL_SOURCE
-#include <assert.h>
#include <common/common.h>
#include <common/utils.h>
#include <common/defaults.h>
#include <common/common.h>
#include <common/utils.h>
#include <common/defaults.h>
@@
-168,7
+167,7
@@
bool tracefile_array_seq_in_file(struct tracefile_array *tfa,
*/
return true;
}
*/
return true;
}
-
assert
(file_index < tfa->count);
+
LTTNG_ASSERT
(file_index < tfa->count);
if (seq == -1ULL) {
return false;
}
if (seq == -1ULL) {
return false;
}
This page took
0.023358 seconds
and
4
git commands to generate.