Content-Length: 252781 | pFad | http://github.com/postgrespro/postgres/commit/cd5ebe1edd6d9c19caba406a90f626afec5d3f0a

D4 Suppress MSVC warning in typeStringToTypeName function. · postgrespro/postgres@cd5ebe1 · GitHub
Skip to content

Commit cd5ebe1

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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/backend/parser/parse_type.c

Lines 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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/cd5ebe1edd6d9c19caba406a90f626afec5d3f0a

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy