Skip to content
Snippets Groups Projects
Commit cd5ebe1e authored by Andres Freund's avatar Andres Freund
Browse files

Suppress MSVC warning in typeStringToTypeName function.

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

David Rowley
parent 3e227535
Branches
Tags
No related merge requests found
......@@ -792,6 +792,7 @@ fail:
ereport(ERROR,
(errcode(ERRCODE_SYNTAX_ERROR),
errmsg("invalid type name \"%s\"", str)));
return NULL; /* keep compiler quiet */
}
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment