Skip to content

Commit

Permalink
Fix: warning C4189: 'rtn': local variable is initialized but not refe…
Browse files Browse the repository at this point in the history
…renced
  • Loading branch information
alastairUK committed Jun 13, 2022
1 parent 17b3bb2 commit 1795e2d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/p528/ValidateInputs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
int ValidateInputs(double d__km, double h_1__meter, double h_2__meter,
double f__mhz, int T_pol, double p, int* warnings)
{
int rtn = SUCCESS;

if (d__km < 0)
return ERROR_VALIDATION__D_KM;

Expand Down

0 comments on commit 1795e2d

Please sign in to comment.