Commit 8367529c authored by Bruce Momjian's avatar Bruce Momjian

Remove compile warning.

parent 8d78d164
#include <stdlib.h>
#include <ecpgtype.h> #include <ecpgtype.h>
/* /*
* This function is used to generate the correct type names. * This function is used to generate the correct type names.
...@@ -7,7 +8,7 @@ ECPGtype_name(enum ECPGttype typ) ...@@ -7,7 +8,7 @@ ECPGtype_name(enum ECPGttype typ)
{ {
switch (typ) switch (typ)
{ {
case ECPGt_char:return "char"; case ECPGt_char:return "char";
case ECPGt_unsigned_char: case ECPGt_unsigned_char:
return "unsigned char"; return "unsigned char";
case ECPGt_short: case ECPGt_short:
...@@ -31,4 +32,5 @@ ECPGtype_name(enum ECPGttype typ) ...@@ -31,4 +32,5 @@ ECPGtype_name(enum ECPGttype typ)
default: default:
abort(); abort();
} }
return NULL;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment