diff options
| author | Tom Lane | 2000-03-17 02:36:41 +0000 |
|---|---|---|
| committer | Tom Lane | 2000-03-17 02:36:41 +0000 |
| commit | 341b328b180e65d1fa5c8f2235cf101c8a12824f (patch) | |
| tree | 88d54198ffa15aea581251471f8c062ae9e3142e /src/backend/utils/mmgr | |
| parent | bc1f117094fbe2921f37923d8f7528284cb26dfc (diff) | |
Fix a bunch of minor portability problems and maybe-bugs revealed by
running gcc and HP's cc with warnings cranked way up. Signed vs unsigned
comparisons, routines declared static and then defined not-static,
that kind of thing. Tedious, but perhaps useful...
Diffstat (limited to 'src/backend/utils/mmgr')
| -rw-r--r-- | src/backend/utils/mmgr/portalmem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/mmgr/portalmem.c b/src/backend/utils/mmgr/portalmem.c index 78da0bc9edb..83bb7b099a7 100644 --- a/src/backend/utils/mmgr/portalmem.c +++ b/src/backend/utils/mmgr/portalmem.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/mmgr/portalmem.c,v 1.34 2000/01/31 04:35:53 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/mmgr/portalmem.c,v 1.35 2000/03/17 02:36:29 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -145,7 +145,7 @@ do { \ } while(0) #define PortalHashTableDelete(PORTAL) \ -{ \ +do { \ PortalHashEnt *hentry; bool found; char key[MAX_PORTALNAME_LEN]; \ \ MemSet(key, 0, MAX_PORTALNAME_LEN); \ |
