forked from osmocom/wireshark
Squelch "Clarify calculation precedence" warning from cppcheck.
For
A & B ? C : D
put "A & B" in parentheses, to clarify the precedence.
(cherry picked from commit 6b85987e4a
)
This commit is contained in:
parent
22cc9f3f7f
commit
3ff5fc344f
|
@ -994,7 +994,7 @@ capture_opts_print_if_capabilities(if_capabilities_t *caps, char *name, int quer
|
|||
if (queries & CAPS_QUERY_LINK_TYPES) {
|
||||
if (caps->can_set_rfmon)
|
||||
printf("Data link types of interface %s when %sin monitor mode (use option -y to set):\n",
|
||||
name, queries & CAPS_MONITOR_MODE ? "" : "not ");
|
||||
name, (queries & CAPS_MONITOR_MODE) ? "" : "not ");
|
||||
else
|
||||
printf("Data link types of interface %s (use option -y to set):\n", name);
|
||||
for (lt_entry = caps->data_link_types; lt_entry != NULL;
|
||||
|
|
Loading…
Reference in New Issue