diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-06-17 17:11:53 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-06-17 17:12:20 +0200 |
commit | 01afa17bf96ff719931c4f7dc644381132e72456 (patch) | |
tree | de8b6d9bbee4220d9222339759e582a2537047e1 /optimize.c | |
parent | 39c7f8dd3acf3deb721ebf212c89738942eb8da2 (diff) |
DAG: Fix a condition
Found with cppcheck.
The warning was:
pcap-dag.c:1117:6: style: Suspicious condition (assignment + comparison);
Clarify expression with parentheses. [clarifyCondition]
if ((dag_error = dag_config_get_uint32_attribute_ex(pd->dag_ref,
pd->drop_attr, &stream_drop) == kDagErrNone)) {
^
Diffstat (limited to 'optimize.c')
0 files changed, 0 insertions, 0 deletions