diff options
| author | Christopher Li <sparse@chrisli.org> | 2013-03-10 16:15:42 -0700 |
|---|---|---|
| committer | Christopher Li <sparse@chrisli.org> | 2013-04-08 07:56:39 -0700 |
| commit | c560e34449fa9e804a01204ca50bb9ed2a190935 (patch) | |
| tree | 796283a3156251b566523b1b2b2773edb4d48af5 /expression.h | |
| parent | bcdb5ee5a83fbe2779cc6e49ab1fa87c50a20805 (diff) | |
| download | sparse-dev-c560e34449fa9e804a01204ca50bb9ed2a190935.tar.gz | |
Proper variable length array warning
The previous warning about bad constant is actually
mean for variable length array.
Signed-off-by: Christopher Li <sparse@chrisli.org>
Diffstat (limited to 'expression.h')
| -rw-r--r-- | expression.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/expression.h b/expression.h index 9778de88..7a9641ba 100644 --- a/expression.h +++ b/expression.h @@ -163,6 +163,7 @@ struct expression { int is_zero_constant(struct expression *); long long get_expression_value(struct expression *); long long const_expression_value(struct expression *); +long long get_expression_value_silent(struct expression *expr); /* Expression parsing */ struct token *parse_expression(struct token *token, struct expression **tree); |
