Re: to_ascii()

From: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-patches <pgsql-patches(at)postgreSQL(dot)org>
Subject: Re: to_ascii()
Date: 2000-08-05 15:50:48
Message-ID: Pine.LNX.3.96.1000805173429.31026D-100000@ara.zf.jcu.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


On Sat, 5 Aug 2000, Bruce Momjian wrote:

> I see the following warnings in a gcc compile with -Wall:
>
> ascii.c: In function `to_ascii_encname':
> ascii.c:41: warning: control reaches end of non-void function
> ascii.c: In function `to_ascii_enc':
> ascii.c:47: warning: control reaches end of non-void function
> ascii.c: In function `to_ascii_default':
> ascii.c:53: warning: control reaches end of non-void function
>

Grrr..... it's really bad day for me.

Please, ignore this warning now. I will work on to_char() and this
I resolve too. It's pedantic warning from a gcc, these functions
always end with elog(ERROR..) and not with some return. But a gcc
don't knows it :-(

(or you can add "return (Datum) NULL;" to these three lines if you don't
want wait for me next patch).

*Sorry* Bruce, I really didn't want kill your time....

Karel

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2000-08-05 15:52:03 Re: to_ascii()
Previous Message Bruce Momjian 2000-08-05 15:06:48 Re: to_ascii()