summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-10-29 23:27:34 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2008-10-29 23:27:34 +0200
commit775f13d1b9d28a0aed399f8853018ba68e04bd38 (patch)
tree2a76b165541d64d1602517b2432e4742a2c8476f /src
parent1e32e38099383b442b48d5f8b61142226269dde0 (diff)
Use i instead of j in for-loop
Diffstat (limited to 'src')
-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;
}