Skip to content

Commit 196d6f4

Browse files
committed
Tired of seeing these warnings ...
1 parent d70bf0d commit 196d6f4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/backend/utils/adt/ascii.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/* -----------------------------------------------------------------------
33
* ascii.c
44
*
5-
* $Header: /cvsroot/pgsql/src/backend/utils/adt/ascii.c,v 1.3 2000/08/05 14:59:17 momjian Exp $
5+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/ascii.c,v 1.4 2000/08/26 21:56:23 tgl Exp $
66
*
77
* Portions Copyright (c) 1999-2000, PostgreSQL, Inc
88
*
@@ -38,18 +38,21 @@ Datum
3838
to_ascii_encname(PG_FUNCTION_ARGS)
3939
{
4040
multibyte_error();
41+
return 0; /* keep compiler quiet */
4142
}
4243

4344
Datum
4445
to_ascii_enc(PG_FUNCTION_ARGS)
4546
{
4647
multibyte_error();
48+
return 0; /* keep compiler quiet */
4749
}
4850

4951
Datum
5052
to_ascii_default(PG_FUNCTION_ARGS)
5153
{
5254
multibyte_error();
55+
return 0; /* keep compiler quiet */
5356
}
5457

5558

@@ -198,4 +201,4 @@ to_ascii_default(PG_FUNCTION_ARGS)
198201
);
199202
}
200203

201-
#endif /* MULTIBYTE */
204+
#endif /* MULTIBYTE */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy