index 195b278f55903bf48cd12fe784e2d27beea23036..27bd0d31fdfe20c644e6a79a1955c794bc969d12 100644 (file)
@@ -2574,7 +2574,6 @@ createNewConnection(const char *name, remoteConn *rconn)
}
hentry->rconn = rconn;
- strlcpy(hentry->name, name, sizeof(hentry->name));
}
static void
index 2651d8904b62386bb4bf069545986b0353d8773c..264f25a8f9caa0fbcfe3fe6de871049ce10d6708 100644 (file)
foreach(l, pendingNotifies->events)
{
Notification *oldn = (Notification *) lfirst(l);
- NotificationHash *hentry;
bool found;
- hentry = (NotificationHash *) hash_search(pendingNotifies->hashtab,
- &oldn,
- HASH_ENTER,
- &found);
+ (void) hash_search(pendingNotifies->hashtab,
+ &oldn,
+ HASH_ENTER,
+ &found);
Assert(!found);
- hentry->event = oldn;
}
}
/* Add event to the hash table if needed */
if (pendingNotifies->hashtab != NULL)
{
- NotificationHash *hentry;
bool found;
- hentry = (NotificationHash *) hash_search(pendingNotifies->hashtab,
- &n,
- HASH_ENTER,
- &found);
+ (void) hash_search(pendingNotifies->hashtab,
+ &n,
+ HASH_ENTER,
+ &found);
Assert(!found);
- hentry->event = n;
}
}
index 323d9bf87020ac8b83ce928ce502652ca23dab37..7206da7c53c06490c8eea369da3a65fdf045ba07 100644 (file)
/* Find or create cached entry for the foreign table */
ft_info = hash_search(ft_htab, &serverid, HASH_ENTER, &found);
if (!found)
- {
- ft_info->serverid = serverid;
ft_info->rels = NIL;
- }
/*
* Save the foreign table in the entry of the server that the
index 9b37736f8e5e536ba1eb22d28eb865a224de064d..b84a8a6db255fd59f70da9dac69c196687b87276 100644 (file)
winfo->in_use = true;
winfo->serialize_changes = false;
entry->winfo = winfo;
- entry->xid = xid;
}
/*
index d62eefed1384e1783b78c441ef704f38a482b0c4..a581ac9a4d8678d7264974019d79eff569ebf302 100644 (file)
@@ -657,7 +657,6 @@ logicalrep_partition_open(LogicalRepRelMapEntry *root,
int i;
/* Remote relation is copied as-is from the root entry. */
- entry = &part_entry->relmapentry;
entry->remoterel.remoteid = remoterel->remoteid;
entry->remoterel.nspname = pstrdup(remoterel->nspname);
entry->remoterel.relname = pstrdup(remoterel->relname);