Skip to content

Commit 7b17d3b

Browse files
committed
Removes Warnings
1 parent ef392e9 commit 7b17d3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/SwiftSecurity/Keychain/SecItemStore/SecItemStore.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,15 +158,15 @@ extension SecDataStore {
158158
/// - query: An object that describes the query. See ``SecItemQuery<GenericPassword>``.
159159
/// - Returns: On return, the first found secure data.
160160
public func retrieve(_ query: SecItemQuery<GenericPassword>) throws -> Data? {
161-
try self.retrieve<Data>(query, authenticationContext: nil)
161+
try self.retrieve(query, authenticationContext: nil)
162162
}
163163

164164
/// Returns the first web credential that match a search query.
165165
/// - Parameters:
166166
/// - query: An object that describes the query. See ``SecItemQuery<InternetPassword>``.
167167
/// - Returns: On return, the first found web credential.
168168
public func retrieve(_ query: SecItemQuery<InternetPassword>) throws -> Data? {
169-
try self.retrieve<Data>(query, authenticationContext: nil)
169+
try self.retrieve(query, authenticationContext: nil)
170170
}
171171
}
172172

0 commit comments

Comments
 (0)