Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
3ead4449
Commit
3ead4449
authored
Feb 15, 2013
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix several warnings about uninitialized variables from gcov build
parent
f58dffe3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
9 deletions
+11
-9
epilines.cpp
modules/legacy/src/epilines.cpp
+1
-1
lmeds.cpp
modules/legacy/src/lmeds.cpp
+1
-1
scanlines.cpp
modules/legacy/src/scanlines.cpp
+9
-7
No files found.
modules/legacy/src/epilines.cpp
View file @
3ead4449
...
...
@@ -1826,7 +1826,7 @@ void icvGetCutPiece( CvVect64d areaLineCoef1,CvVect64d areaLineCoef2,
/* Collect all candidate point */
CvPoint2D64d
candPoints
[
8
];
CvPoint2D64d
midPoint
;
CvPoint2D64d
midPoint
=
{
0
,
0
}
;
int
numPoints
=
0
;
int
res
;
int
i
;
...
...
modules/legacy/src/lmeds.cpp
View file @
3ead4449
...
...
@@ -1615,7 +1615,7 @@ CvStatus
icvPoint7
(
int
*
ml
,
int
*
mr
,
double
*
F
,
int
*
amount
)
{
double
A
[
63
],
B
[
7
];
double
*
solutions
;
double
*
solutions
=
0
;
double
a2
,
a1
,
a0
;
double
squares
[
6
];
int
i
,
j
;
...
...
modules/legacy/src/scanlines.cpp
View file @
3ead4449
...
...
@@ -1125,7 +1125,7 @@ icvBuildScanlineLeft( CvMatrix3 * matrix,
CvMatrix3
*
F
;
float
i
;
int
offset
;
float
epiline
[
3
];
float
epiline
[
3
]
=
{
0
,}
;
double
a
,
b
;
assert
(
l_start_end
!=
0
);
...
...
@@ -1211,7 +1211,7 @@ icvBuildScanlineRight( CvMatrix3 * matrix,
CvMatrix3
*
F
;
float
i
;
int
offset
;
float
epiline
[
3
];
float
epiline
[
3
]
=
{
0
,}
;
double
a
,
b
;
assert
(
r_start_end
!=
0
);
...
...
@@ -1389,7 +1389,9 @@ icvGetCoefficientStereo( CvMatrix3 * matrix,
float
l_angle
[
2
],
r_angle
[
2
];
float
l_radius
,
r_radius
;
float
r_point
[
3
],
l_point
[
3
];
float
l_epiline
[
3
],
r_epiline
[
3
],
x
,
y
;
float
l_epiline
[
3
]
=
{
0
,};
float
r_epiline
[
3
]
=
{
0
,};
float
x
,
y
;
float
swap
;
float
radius1
,
radius2
,
radius3
,
radius4
;
...
...
@@ -1731,8 +1733,8 @@ icvBuildScanlineLeftStereo( CvSize imgSize,
float
delta
;
float
angle
;
float
l_point
[
3
];
float
l_epiline
[
3
];
float
r_epiline
[
3
];
float
l_epiline
[
3
]
=
{
0
,}
;
float
r_epiline
[
3
]
=
{
0
,}
;
CvStatus
error
=
CV_OK
;
CvMatrix3
*
F
;
...
...
@@ -1819,8 +1821,8 @@ icvBuildScanlineRightStereo( CvSize imgSize,
float
delta
;
float
angle
;
float
r_point
[
3
];
float
l_epiline
[
3
];
float
r_epiline
[
3
];
float
l_epiline
[
3
]
=
{
0
,}
;
float
r_epiline
[
3
]
=
{
0
,}
;
CvStatus
error
=
CV_OK
;
CvMatrix3
*
F
;
...
...
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