Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv_contrib
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_contrib
Commits
0ff319cb
Commit
0ff319cb
authored
Nov 11, 2016
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: eliminate hdf5 warnings
parent
e36e2ff0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
hdf5.cpp
modules/hdf/src/hdf5.cpp
+4
-4
No files found.
modules/hdf/src/hdf5.cpp
View file @
0ff319cb
...
...
@@ -433,8 +433,8 @@ void HDF5Impl::dscreate( const int rows, const int cols, const int type,
String
dslabel
,
const
int
compresslevel
,
const
vector
<
int
>&
dims_chunks
)
const
{
CV_Assert
(
&
dims_chunks
[
0
]
==
NULL
||
dims_chunks
.
size
()
==
2
);
dscreate
(
rows
,
cols
,
type
,
dslabel
,
compresslevel
,
&
dims_chunks
[
0
]
);
CV_Assert
(
dims_chunks
.
empty
()
||
dims_chunks
.
size
()
==
2
);
dscreate
(
rows
,
cols
,
type
,
dslabel
,
compresslevel
,
dims_chunks
.
empty
()
?
NULL
:
&
(
dims_chunks
[
0
])
);
}
void
HDF5Impl
::
dscreate
(
const
int
rows
,
const
int
cols
,
const
int
type
,
...
...
@@ -466,10 +466,10 @@ void HDF5Impl::dscreate( const vector<int>& sizes, const int type,
String
dslabel
,
const
int
compresslevel
,
const
vector
<
int
>&
dims_chunks
)
const
{
CV_Assert
(
&
dims_chunks
[
0
]
==
NULL
||
dims_chunks
.
size
()
==
sizes
.
size
()
);
CV_Assert
(
dims_chunks
.
empty
()
||
dims_chunks
.
size
()
==
sizes
.
size
()
);
const
int
n_dims
=
(
int
)
sizes
.
size
();
dscreate
(
n_dims
,
&
sizes
[
0
],
type
,
dslabel
,
compresslevel
,
&
dims_chunks
[
0
]
);
dscreate
(
n_dims
,
&
sizes
[
0
],
type
,
dslabel
,
compresslevel
,
dims_chunks
.
empty
()
?
NULL
:
&
(
dims_chunks
[
0
])
);
}
void
HDF5Impl
::
dscreate
(
const
int
n_dims
,
const
int
*
sizes
,
const
int
type
,
...
...
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