Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit c56ac29

Browse files
committed
Suppress unused-variable warning.
Rearrange so we don't have an unused variable in disable-cassert case. Discussion: https://postgr.es/m/CAMkU=1x63f2QyFTeas83xJqD+Hm1PBuok1LrzYzS-OngDzYOVA@mail.gmail.com
1 parent f97de05 commit c56ac29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/optimizer/path/indxpath.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1313,7 +1313,7 @@ generate_bitmap_or_paths(PlannerInfo *root, RelOptInfo *rel,
13131313
List *orargs;
13141314

13151315
Assert(!restriction_is_or_clause(rinfo));
1316-
orargs = list_make1(orarg);
1316+
orargs = list_make1(rinfo);
13171317

13181318
indlist = build_paths_for_OR(root, rel,
13191319
orargs,

0 commit comments

Comments
 (0)