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

Commit5b0fa06

Browse files
committed
Remove wrongly backpatched piece of code in cube.c
Due to sloppy division of changes betweenf50c80d (which was notback-patched) and563a053, this piece of code was wrongly backpatched toREL_10_STABLE and REL9_6_STABLE. This code never causes real error becauseits condition is never satisfied, but it's a dead code, which needs to beremoved.Alexander Korotkov per gripe from Tom Lane
1 parent3d46582 commit5b0fa06

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

‎contrib/cube/cube.c‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1587,7 +1587,6 @@ cube_coord_llur(PG_FUNCTION_ARGS)
15871587
{
15881588
NDBOX*cube=PG_GETARG_NDBOX(0);
15891589
intcoord=PG_GETARG_INT32(1);
1590-
boolinverse= false;
15911590
float8result;
15921591

15931592
/* 0 is the only unsupported coordinate value */
@@ -1625,10 +1624,6 @@ cube_coord_llur(PG_FUNCTION_ARGS)
16251624
result=0.0;
16261625
}
16271626

1628-
/* Inverse value if needed */
1629-
if (inverse)
1630-
result=-result;
1631-
16321627
PG_RETURN_FLOAT8(result);
16331628
}
16341629

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp