summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDeokhyun Kim <dukan.kim@samsung.com>2019-01-10 14:09:34 +0900
committerDeokhyun Kim <dukan.kim@samsung.com>2019-01-10 14:09:34 +0900
commitdfdc4e8b1ef995ef2c7eb502f055221a343f8812 (patch)
tree9ba2e086b9894a31308948499a27094d1c38274a /src
parent11e837a2841c94474c418893976d7e74f2650c7d (diff)
downloadbluetooth-dfdc4e8b1ef995ef2c7eb502f055221a343f8812.tar.gz
bluetooth-dfdc4e8b1ef995ef2c7eb502f055221a343f8812.tar.bz2
bluetooth-dfdc4e8b1ef995ef2c7eb502f055221a343f8812.zip
Fix svace issue(27475)
Change-Id: Ia8d52caaa687ed9cc21e0a9cdc43681b717a7656 Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
Diffstat (limited to 'src')
-rw-r--r--src/bluetooth-pbap.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/bluetooth-pbap.c b/src/bluetooth-pbap.c
index d6b5af1..f7d17c2 100644
--- a/src/bluetooth-pbap.c
+++ b/src/bluetooth-pbap.c
@@ -180,10 +180,6 @@ int bt_pbap_client_get_phone_book(const char *address, bt_pbap_address_book_sour
if (max_list_count <= 0)
return BT_ERROR_INVALID_PARAMETER;
- /* Maximum value of maxlistcount is 65535 */
- if (max_list_count > 65535)
- max_list_count = 65535;
-
app_param.format = format;
app_param.order = order;
app_param.offset = offset;