From 9c3576499248fb5dc936530d38bee9294bb418f3 Mon Sep 17 00:00:00 2001 From: Josef 'Jeff' Sipek Date: Thu, 9 Jan 2020 09:26:09 -0500 Subject: [PATCH] trkmeas: get rid of 2 unused variable warnings --- trkmeas.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/trkmeas.cc b/trkmeas.cc index e5a4f36..7c8eb7a 100644 --- a/trkmeas.cc +++ b/trkmeas.cc @@ -55,7 +55,6 @@ vector parseTrkMeas(std::basic_string_view payload) cerr< ret; for(unsigned int n=4 ; n < payload.size(); n+=16) { @@ -63,7 +62,10 @@ vector parseTrkMeas(std::basic_string_view payload) return ret; plaintext.append(plainchunk, plainchunk+16); } - // cerr<<"msgsize: "< parseTrkMeas(std::basic_string_view payload) int gnssid = plaintext[offset+4]; int sv = plaintext[offset+5]; - int trkstat = plaintext[offset+8]; double doppler = ldexp(1.0*rdoppler,-10)*10; int plcount = (unsigned int)plaintext[offset+17]; /* + int trkstat = plaintext[offset+8]; cerr<<" gnssid " << gnssid <<" sv "<< sv; cerr<<" qi "<<(unsigned int)plaintext[offset+1] <<" c "<<(unsigned int)plaintext[offset]; cerr<<" ? "<<(unsigned int)plaintext[offset+2] << " ? " <<(unsigned int)plaintext[offset+3];