mirror of
https://github.com/postgres/postgres.git
synced 2025-06-17 17:02:08 +03:00
-Wall cleanup of gist subdirectory:
- cleaned out unused variables - added missing prototype headers One outstanding -Werror failure: /home/staff/scrappy/postgres/2.0/cvs/postgres95/src/backend/access/gist/giststra t.c:117: warning: missing braces around initializer for `GISTEvaluationData.expr ession'
This commit is contained in:
@ -47,6 +47,20 @@
|
||||
|
||||
#include "access/gist.h"
|
||||
|
||||
#include "executor/execdebug.h"
|
||||
|
||||
#include "utils/palloc.h"
|
||||
|
||||
#ifndef HAVE_MEMMOVE
|
||||
# include "regex/utils.h"
|
||||
#else
|
||||
# include <string.h>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include "storage/ipc.h"
|
||||
#include "storage/bufmgr.h"
|
||||
|
||||
static OffsetNumber gistfindnext(IndexScanDesc s, Page p, OffsetNumber n,
|
||||
ScanDirection dir);
|
||||
static RetrieveIndexResult gistscancache(IndexScanDesc s, ScanDirection dir);
|
||||
@ -306,7 +320,6 @@ gistfindnext(IndexScanDesc s, Page p, OffsetNumber n, ScanDirection dir)
|
||||
char *it;
|
||||
GISTPageOpaque po;
|
||||
GISTScanOpaque so;
|
||||
GISTENTRY de;
|
||||
GISTSTATE *giststate;
|
||||
|
||||
maxoff = PageGetMaxOffsetNumber(p);
|
||||
|
Reference in New Issue
Block a user