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
/
common
/
filter
/
filter-parser.y
diff --git
a/src/common/filter/filter-parser.y
b/src/common/filter/filter-parser.y
index 74541f75610c4460e57f1c4bc598e7b64fd370e2..d2c726007d1043d59c0ec7fefb1e0e244894a532 100644
(file)
--- a/
src/common/filter/filter-parser.y
+++ b/
src/common/filter/filter-parser.y
@@
-15,7
+15,6
@@
#include <unistd.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <stdlib.h>
-#include <assert.h>
#include <inttypes.h>
#include "common/bytecode/bytecode.h"
#include "filter-ast.h"
#include <inttypes.h>
#include "common/bytecode/bytecode.h"
#include "filter-ast.h"
@@
-317,8
+316,8
@@
int filter_parser_ctx_create_from_filter_expression(
struct filter_parser_ctx *ctx = NULL;
FILE *fmem = NULL;
struct filter_parser_ctx *ctx = NULL;
FILE *fmem = NULL;
-
assert
(filter_expression);
-
assert
(ctxp);
+
LTTNG_ASSERT
(filter_expression);
+
LTTNG_ASSERT
(ctxp);
/*
* Casting const to non-const, as the underlying function will use it in
/*
* Casting const to non-const, as the underlying function will use it in
This page took
0.02396 seconds
and
4
git commands to generate.