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
4065f17a
Commit
4065f17a
authored
Nov 13, 2010
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed uninitialized variable use in writeGraph (reported by valgrind when running opencv_test_core)
parent
5791e89e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
persistence.cpp
modules/core/src/persistence.cpp
+1
-1
No files found.
modules/core/src/persistence.cpp
View file @
4065f17a
...
...
@@ -4334,7 +4334,7 @@ icvWriteGraph( CvFileStorage* fs, const char* name,
{
int
fmt_pairs
[
CV_FS_MAX_FMT_PAIRS
],
fmt_pair_count
;
fmt_pair_count
=
icvDecodeFormat
(
dt
,
fmt_pairs
,
CV_FS_MAX_FMT_PAIRS
);
if
(
fmt_pair_count
>
2
||
CV_ELEM_SIZE
(
fmt_pairs
[
2
*
2
+
1
])
>=
(
int
)
sizeof
(
double
))
if
(
fmt_pair_count
>
2
&&
CV_ELEM_SIZE
(
fmt_pairs
[
2
*
2
+
1
])
>=
(
int
)
sizeof
(
double
))
edge_user_align
=
sizeof
(
double
);
}
...
...
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