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

Commit29ab156

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 parent2ecd5fb commit29ab156

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
@@ -1555,7 +1555,6 @@ cube_coord_llur(PG_FUNCTION_ARGS)
15551555
{
15561556
NDBOX*cube=PG_GETARG_NDBOX(0);
15571557
intcoord=PG_GETARG_INT32(1);
1558-
boolinverse= false;
15591558
float8result;
15601559

15611560
/* 0 is the only unsupported coordinate value */
@@ -1593,10 +1592,6 @@ cube_coord_llur(PG_FUNCTION_ARGS)
15931592
result=0.0;
15941593
}
15951594

1596-
/* Inverse value if needed */
1597-
if (inverse)
1598-
result=-result;
1599-
16001595
PG_RETURN_FLOAT8(result);
16011596
}
16021597

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp