Skip to content

examples: Fix repeated if branches

EDIT: This MR was integrated in !1244 (merged).


In file examples/wireless/wifi-spectrum-saturation-example.cc, there is an if-else whose bodies are exactly the same regardless of the condition.

Fixed it by removing the if-else condition and moving the body to the outer scope. If this is bug, then please suggest the proper fix.

Edited by Eduardo Almeida

Merge request reports

Loading