Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitf379121

Browse files
committed
Suppress compiler warning in non-USE_LIBXML builds.
Compilers that don't realize that ereport(ERROR) doesn't returncomplained that XmlTableGetValue() failed to return a value.Also, make XmlTableFetchRow's non-USE_LIBXML case look more likethe other ones. As coded, it could lead to "unreachable code"warnings with USE_LIBXML enabled.Oversights in commitfcec6ca. Per buildfarm.
1 parent86dbbf2 commitf379121

File tree

1 file changed

+2
-2
lines changed
  • src/backend/utils/adt

1 file changed

+2
-2
lines changed

‎src/backend/utils/adt/xml.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4389,9 +4389,8 @@ XmlTableFetchRow(TableFuncScanState *state)
43894389
return false;
43904390
#else
43914391
NO_XML_SUPPORT();
4392-
#endif/* not USE_LIBXML */
4393-
43944392
return false;
4393+
#endif/* not USE_LIBXML */
43954394
}
43964395

43974396
/*
@@ -4561,6 +4560,7 @@ XmlTableGetValue(TableFuncScanState *state, int colnum,
45614560
returnresult;
45624561
#else
45634562
NO_XML_SUPPORT();
4563+
return0;
45644564
#endif/* not USE_LIBXML */
45654565
}
45664566

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp