Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cd5ebe1

Browse filesBrowse files
committed
Suppress MSVC warning in typeStringToTypeName function.
MSVC doesn't realize ereport(ERROR) doesn't return. David Rowley
1 parent 3e22753 commit cd5ebe1
Copy full SHA for cd5ebe1

File tree

Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed

‎src/backend/parser/parse_type.c

Copy file name to clipboardExpand all lines: src/backend/parser/parse_type.c
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -792,6 +792,7 @@ typeStringToTypeName(const char *str)
792792
ereport(ERROR,
793793
(errcode(ERRCODE_SYNTAX_ERROR),
794794
errmsg("invalid type name \"%s\"", str)));
795+
return NULL; /* keep compiler quiet */
795796
}
796797

797798
/*

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.