Skip to content

Commit 8367529

Browse files
committed
Remove compile warning.
1 parent 8d78d16 commit 8367529

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/interfaces/ecpg/lib/typename.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#include <stdlib.h>
12
#include <ecpgtype.h>
23
/*
34
* This function is used to generate the correct type names.
@@ -7,7 +8,7 @@ ECPGtype_name(enum ECPGttype typ)
78
{
89
switch (typ)
910
{
10-
case ECPGt_char:return "char";
11+
case ECPGt_char:return "char";
1112
case ECPGt_unsigned_char:
1213
return "unsigned char";
1314
case ECPGt_short:
@@ -31,4 +32,5 @@ ECPGtype_name(enum ECPGttype typ)
3132
default:
3233
abort();
3334
}
35+
return NULL;
3436
}

0 commit comments

Comments
 (0)