1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-11 00:12:06 +03:00

Fix some portability issues (reliance on gcc-isms).

This commit is contained in:
Tom Lane
2004-04-01 23:44:38 +00:00
parent 51d1a12ed1
commit 47fe0517fc
7 changed files with 46 additions and 17 deletions

View File

@@ -56,7 +56,10 @@ Oid
findSNMap(SNMap * map, char *key)
{
SNMapEntry *ptr;
SNMapEntry ks = {key, 0};
SNMapEntry ks;
ks.key = key;
ks.value = 0;
if (map->len == 0 || !map->list)
return 0;