From: Bruce Momjian Date: Thu, 26 Feb 1998 16:06:20 +0000 (+0000) Subject: Remove compile warning. X-Git-Tag: REL6_3~49 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8367529c41bf01fcc47b7dca368ca5ef13117caa;p=postgresql Remove compile warning. --- diff --git a/src/interfaces/ecpg/lib/typename.c b/src/interfaces/ecpg/lib/typename.c index a79fa67202..f4c0b16063 100644 --- a/src/interfaces/ecpg/lib/typename.c +++ b/src/interfaces/ecpg/lib/typename.c @@ -1,3 +1,4 @@ +#include #include /* * This function is used to generate the correct type names. @@ -7,7 +8,7 @@ ECPGtype_name(enum ECPGttype typ) { switch (typ) { - case ECPGt_char:return "char"; + case ECPGt_char:return "char"; case ECPGt_unsigned_char: return "unsigned char"; case ECPGt_short: @@ -31,4 +32,5 @@ ECPGtype_name(enum ECPGttype typ) default: abort(); } + return NULL; }