Re: tab-complete patch warnings

Started by Bruce Momjianover 23 years ago1 messagespatches
Jump to latest
#1Bruce Momjian
bruce@momjian.us

Good catch. Patch attached and applied.

Strange I didn't see that warning here, gcc 2.95.2.

---------------------------------------------------------------------------

Joe Conway wrote:

I'm seeing:

gcc -O2 -g -Wall -Wmissing-prototypes -Wmissing-declarations
-I../../../src/interfaces/libpq -I../../../src/include -c -o
tab-complete.o tab-complete.c -MMD
tab-complete.c:414: warning: initialization makes integer from pointer
without a cast
tab-complete.c:422: warning: initialization makes integer from pointer
without a cast
tab-complete.c:428: warning: initialization makes integer from pointer
without a cast
tab-complete.c:431: warning: initialization makes integer from pointer
without a cast
tab-complete.c:434: warning: initialization makes integer from pointer
without a cast

Looks to me like the second attribute should be NO_SCHEMA instead of
NULL in those lines.

Joe

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Attachments:

/bjm/difftext/plainDownload+10-10