From 1795e2d6053116b4cbccd3f1e7a7ae48b72fad7d Mon Sep 17 00:00:00 2001 From: alastairUK Date: Mon, 13 Jun 2022 16:40:40 +0100 Subject: [PATCH] Fix: warning C4189: 'rtn': local variable is initialized but not referenced --- src/p528/ValidateInputs.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/p528/ValidateInputs.cpp b/src/p528/ValidateInputs.cpp index f86f233..78ae329 100644 --- a/src/p528/ValidateInputs.cpp +++ b/src/p528/ValidateInputs.cpp @@ -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;