aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-11-11 20:28:29 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-11-11 20:28:29 +0100
commitd26318e4a71e931113b13df1da239ccf3b978d21 (patch)
treef5f2068f7d6d59d494aaaa764888fef1a77692a2 /src
parent4e8b50cd8d6d59b18973343534ebea630989b4a3 (diff)
misc: Fix coverity warning about indention
So we had one intended line inside the if for "SMS VALUE" and at the same time one line with "SMS VALUE" at the same indention. Assume it is copy and paste and remove the line. Currently we are only parsing the ms_class so this change should not have any semantic change. Fixes: Coverity CID 1058761
Diffstat (limited to 'src')
-rw-r--r--src/gprs_bssgp_pcu.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gprs_bssgp_pcu.cpp b/src/gprs_bssgp_pcu.cpp
index 4831c9e1..133eb972 100644
--- a/src/gprs_bssgp_pcu.cpp
+++ b/src/gprs_bssgp_pcu.cpp
@@ -94,7 +94,6 @@ static int parse_ra_cap_ms_class(struct tlv_parsed *tp)
}
if (bitvec_read_field(block, rp, 1)) // SMS Present
bitvec_read_field(block, rp, 4); // SMS Value
- bitvec_read_field(block, rp, 4); // SMS Value
}
bitvec_free(block);