aboutsummaryrefslogtreecommitdiffstats
path: root/etisnoop/etisnoop.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-11-21 07:59:01 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-11-21 07:59:01 +0100
commit4070d0716f9d5796d224d5abcdbefdf31db5c3bd (patch)
tree6545f52e47896a4127d73ef4c790277b82ac8c76 /etisnoop/etisnoop.cpp
parent1f8f48caa194471fc5d7568dcd78b22377388629 (diff)
downloadmmbtools-aux-4070d0716f9d5796d224d5abcdbefdf31db5c3bd.tar.gz
mmbtools-aux-4070d0716f9d5796d224d5abcdbefdf31db5c3bd.tar.bz2
mmbtools-aux-4070d0716f9d5796d224d5abcdbefdf31db5c3bd.zip
Remove warnings
Diffstat (limited to 'etisnoop/etisnoop.cpp')
-rw-r--r--etisnoop/etisnoop.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/etisnoop/etisnoop.cpp b/etisnoop/etisnoop.cpp
index 6f15178..29bf146 100644
--- a/etisnoop/etisnoop.cpp
+++ b/etisnoop/etisnoop.cpp
@@ -574,7 +574,7 @@ void decodeFIG(unsigned char* f,
break;
case 2: // FIG 0/2
{
- unsigned short int sref, scid, sid;
+ unsigned short int sref, sid;
unsigned char cid, ecc, local, caid, ncomp, timd, ps, ca, subchid, scty;
int k=1;
string psdesc;
@@ -629,9 +629,12 @@ void decodeFIG(unsigned char* f,
scty = scomp[0] & 0x3F;
subchid = (scomp[1] & 0xFC) >> 2;
+ /* useless, kept as reference
if (timd == 3) {
+ unsigned short int scid;
scid = scty*64 + subchid;
}
+ */
if (ps == 0) {
psdesc = "Secondary service";