diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2008-12-04 15:59:46 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2008-12-04 15:59:46 +0200 |
commit | 96594e2e4fbba5d358c426c873865ab7003939f6 (patch) | |
tree | 9ff52fbb87bdaab71e01d161858f8544b5784c27 /src | |
parent | 20939728e781a3afd8764486e031af0eb598428a (diff) |
Remove unnecessary and incorrect memset
Diffstat (limited to 'src')
-rw-r--r-- | src/storage.c | 1 |
1 files changed, 0 insertions, 1 deletions
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]); |