1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00

Add assertion for Coverity.

Coverity thinks this value might be NULL but that should not be possible because of the TRY...CATCH block.
This commit is contained in:
David Steele 2021-10-26 12:09:41 -04:00
parent 4f10441574
commit e2eea974c1

View File

@ -304,6 +304,7 @@ tlsClientOpen(THIS_VOID)
while (retry); while (retry);
// Authenticate TLS session // Authenticate TLS session
ASSERT(result != NULL);
ioSessionAuthenticatedSet(result, tlsClientAuth(this, tlsSession)); ioSessionAuthenticatedSet(result, tlsClientAuth(this, tlsSession));
// Move session // Move session