CLEANUP: backend: remove useless test for inexistent connection
Coverity rightfully reported that it's pointless to test for "conn"
to be null while all code paths leading to it have already
dereferenced it. This addresses issue #461.
diff --git a/src/backend.c b/src/backend.c
index 7a75ed3..859a004 100644
--- a/src/backend.c
+++ b/src/backend.c
@@ -1956,7 +1956,7 @@
done:
/* retryable error ? */
if (si->flags & (SI_FL_EXP|SI_FL_ERR)) {
- if (!(s->flags & SF_SRV_REUSED) && conn) {
+ if (!(s->flags & SF_SRV_REUSED)) {
conn_stop_tracking(conn);
conn_full_close(conn);
}