From 96594e2e4fbba5d358c426c873865ab7003939f6 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Thu, 4 Dec 2008 15:59:46 +0200 Subject: Remove unnecessary and incorrect memset --- src/storage.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/storage.c') diff --git a/src/storage.c b/src/storage.c index 5c1a973d..899ea302 100644 --- a/src/storage.c +++ b/src/storage.c @@ -395,7 +395,6 @@ int read_remote_eir(bdaddr_t *local, bdaddr_t *peer, uint8_t *data) return -EIO; } - memset(str, 0, sizeof(str)); for (i = 0; i < 240; i++) sscanf(str + (i * 2), "%02hhX", &data[i]); -- cgit