projects
/
graphviz
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5bfe2b
)
RTreeNewIndex: push definition of x closer to its use
author
Matthew Fernandez
<matthew.fernandez@gmail.com>
Wed, 24 Mar 2021 03:47:36 +0000
(20:47 -0700)
committer
Matthew Fernandez
<matthew.fernandez@gmail.com>
Wed, 31 Mar 2021 00:05:59 +0000
(17:05 -0700)
lib/label/index.c
patch
|
blob
|
history
diff --git
a/lib/label/index.c
b/lib/label/index.c
index d05cddc405296f4f316fa329baacc4330a9b5625..8365fa1ee9a6eb58b82ac4021774e0900304ae09 100644
(file)
--- a/
lib/label/index.c
+++ b/
lib/label/index.c
@@
-83,8
+83,7
@@
RTree_t *RTreeOpen()
/* Make a new index, empty. Consists of a single node. */
Node_t *RTreeNewIndex(RTree_t * rtp)
{
- Node_t *x;
- x = RTreeNewNode(rtp);
+ Node_t *x = RTreeNewNode(rtp);
x->level = 0; /* leaf */
rtp->LeafCount++;
return x;