Tired of seeing these warnings ...
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 26 Aug 2000 21:56:23 +0000 (21:56 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 26 Aug 2000 21:56:23 +0000 (21:56 +0000)
src/backend/utils/adt/ascii.c

index 5eb0d8e08bd840bbd5a3be26d01c1fe651242eb1..2514c84d223682cd1e68c3f072ba9a124be76066 100644 (file)
@@ -2,7 +2,7 @@
 /* -----------------------------------------------------------------------
  * ascii.c
  *
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/ascii.c,v 1.3 2000/08/05 14:59:17 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/ascii.c,v 1.4 2000/08/26 21:56:23 tgl Exp $
  *
  *      Portions Copyright (c) 1999-2000, PostgreSQL, Inc
  *
@@ -38,18 +38,21 @@ Datum
 to_ascii_encname(PG_FUNCTION_ARGS)
 {
        multibyte_error();
+       return 0;                                       /* keep compiler quiet */
 }
 
 Datum 
 to_ascii_enc(PG_FUNCTION_ARGS)
 {
        multibyte_error();
+       return 0;                                       /* keep compiler quiet */
 }
 
 Datum 
 to_ascii_default(PG_FUNCTION_ARGS)
 {
        multibyte_error();
+       return 0;                                       /* keep compiler quiet */
 }
 
 
@@ -198,4 +201,4 @@ to_ascii_default(PG_FUNCTION_ARGS)
        );
 }
 
-#endif /* MULTIBYTE */         
\ No newline at end of file
+#endif /* MULTIBYTE */