Suppress MSVC warning in typeStringToTypeName function.

MSVC doesn't realize ereport(ERROR) doesn't return.

David Rowley
This commit is contained in:
Andres Freund 2014-12-24 12:30:08 +01:00
parent 3e22753559
commit cd5ebe1edd
1 changed files with 1 additions and 0 deletions

View File

@ -792,6 +792,7 @@ fail:
ereport(ERROR,
(errcode(ERRCODE_SYNTAX_ERROR),
errmsg("invalid type name \"%s\"", str)));
return NULL; /* keep compiler quiet */
}
/*