Re: to_ascii() - Mailing list pgsql-patches

From Karel Zak
Subject Re: to_ascii()
Date
Msg-id Pine.LNX.3.96.1000805173429.31026D-100000@ara.zf.jcu.cz
Whole thread Raw
In response to Re: to_ascii()  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: to_ascii()  (Bruce Momjian <pgman@candle.pha.pa.us>)
List 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




pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: to_ascii()
Next
From: Bruce Momjian
Date:
Subject: Re: to_ascii()