mirror of
https://github.com/postgres/postgres.git
synced 2025-10-19 15:49:24 +03:00
Revert unnecessary check for NULL
Jelte pointed out that this was unnecessary, but I failed to remove it
before pushing f6f0542266
. Oops.
Reviewed-by: Jelte Fennema-Nio <postgres@jeltef.nl>
Discussion: https://www.postgresql.org/message-id/CAGECzQT%3DxNV-V%2BvFC7YQwYQMj0wGN61b3p%3DJ1_rL6M0vbjTtrA@mail.gmail.com
Backpatch-through: 18
This commit is contained in:
@@ -1645,7 +1645,6 @@ getNotify(PGconn *conn)
|
|||||||
}
|
}
|
||||||
if (pqGets(&conn->workBuffer, conn))
|
if (pqGets(&conn->workBuffer, conn))
|
||||||
{
|
{
|
||||||
if (svname)
|
|
||||||
free(svname);
|
free(svname);
|
||||||
return EOF;
|
return EOF;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user