From cb7b53b7e9c3cac85f6ed4cb48571b7dd678daa7 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Sat, 16 Jul 2022 22:38:00 +0200 Subject: [PATCH] Make Coverity Scan happy --- src/algorithms/libs/rtklib/rtklib_sbas.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/algorithms/libs/rtklib/rtklib_sbas.cc b/src/algorithms/libs/rtklib/rtklib_sbas.cc index 4d682692c..deebafd7a 100644 --- a/src/algorithms/libs/rtklib/rtklib_sbas.cc +++ b/src/algorithms/libs/rtklib/rtklib_sbas.cc @@ -211,7 +211,7 @@ int decode_sbstype6(const sbsmsg_t *msg, sbssat_t *sbssat) } for (i = 0; i < sbssat->nsat && i < MAXSAT; i++) { - if (sbssat->sat[i].fcorr.iodf != iodf[i / 39]) + if (sbssat->sat[i].fcorr.iodf != iodf[i / 46]) { continue; }