Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
74f42a62
Commit
74f42a62
authored
Sep 18, 2013
by
tomasz.wlostowski@cern.ch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
geometry/rtree.h: fix compiler warnings
parent
75b59d8f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
rtree.h
include/geometry/rtree.h
+3
-3
No files found.
include/geometry/rtree.h
View file @
74f42a62
...
@@ -1287,7 +1287,7 @@ int RTREE_QUAL::PickBranch( Rect* a_rect, Node* a_node )
...
@@ -1287,7 +1287,7 @@ int RTREE_QUAL::PickBranch( Rect* a_rect, Node* a_node )
ELEMTYPEREAL
bestIncr
=
(
ELEMTYPEREAL
)
-
1
;
ELEMTYPEREAL
bestIncr
=
(
ELEMTYPEREAL
)
-
1
;
ELEMTYPEREAL
area
;
ELEMTYPEREAL
area
;
ELEMTYPEREAL
bestArea
;
ELEMTYPEREAL
bestArea
;
int
best
;
int
best
=
0
;
Rect
tempRect
;
Rect
tempRect
;
for
(
int
index
=
0
;
index
<
a_node
->
m_count
;
++
index
)
for
(
int
index
=
0
;
index
<
a_node
->
m_count
;
++
index
)
...
@@ -1480,7 +1480,7 @@ void RTREE_QUAL::ChoosePartition( PartitionVars* a_parVars, int a_minFill )
...
@@ -1480,7 +1480,7 @@ void RTREE_QUAL::ChoosePartition( PartitionVars* a_parVars, int a_minFill )
ASSERT
(
a_parVars
);
ASSERT
(
a_parVars
);
ELEMTYPEREAL
biggestDiff
;
ELEMTYPEREAL
biggestDiff
;
int
group
,
chosen
,
betterGroup
;
int
group
,
chosen
=
0
,
betterGroup
=
0
;
InitParVars
(
a_parVars
,
a_parVars
->
m_branchCount
,
a_minFill
);
InitParVars
(
a_parVars
,
a_parVars
->
m_branchCount
,
a_minFill
);
PickSeeds
(
a_parVars
);
PickSeeds
(
a_parVars
);
...
@@ -1603,7 +1603,7 @@ void RTREE_QUAL::InitParVars( PartitionVars* a_parVars, int a_maxRects, int a_mi
...
@@ -1603,7 +1603,7 @@ void RTREE_QUAL::InitParVars( PartitionVars* a_parVars, int a_maxRects, int a_mi
RTREE_TEMPLATE
RTREE_TEMPLATE
void
RTREE_QUAL
::
PickSeeds
(
PartitionVars
*
a_parVars
)
void
RTREE_QUAL
::
PickSeeds
(
PartitionVars
*
a_parVars
)
{
{
int
seed0
,
seed1
;
int
seed0
=
0
,
seed1
=
0
;
ELEMTYPEREAL
worst
,
waste
;
ELEMTYPEREAL
worst
,
waste
;
ELEMTYPEREAL
area
[
MAXNODES
+
1
];
ELEMTYPEREAL
area
[
MAXNODES
+
1
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment