summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/device.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/device.c b/src/device.c
index 95fec822..8fb46413 100644
--- a/src/device.c
+++ b/src/device.c
@@ -1110,7 +1110,7 @@ done:
static gboolean is_in_uuid_list(const char *uuid)
{
uint16_t uuid16;
- int j;
+ int i;
/* Check for Bluetooth UUID-16 */
if (strlen(uuid) != 36 || strncmp(uuid, "0000", 4) ||
@@ -1119,8 +1119,8 @@ static gboolean is_in_uuid_list(const char *uuid)
uuid16 = strtol(uuid, NULL, 16);
- for (j = 0; uuid_list[j]; j++) {
- if (uuid16 == uuid_list[j])
+ for (i = 0; uuid_list[i]; i++) {
+ if (uuid16 == uuid_list[i])
return TRUE;
}