Closed dilyanpalauzov closed 2 years ago
https://github.com/manio/skymax-demo/blob/master/main.cpp#L90 contains:
else if(linepart1 == "watt_factor") attemptAddSetting(&wattfactor, linepart2); else if(linepart1 == "watt_factor") attemptAddSetting(&wattfactor, linepart2); else
For me this is tautology: the second else will never match.
else
Yes, you are totally right. In fact it is not even my code... Will you create a PR or you wish I should fix it myself?
Please fix this.
https://github.com/manio/skymax-demo/blob/master/main.cpp#L90 contains:
For me this is tautology: the second
else
will never match.