projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c6dc17
)
fixed part of shadow warnings
author
Marina Kolpakova
<no@email>
Wed, 13 Jun 2012 13:21:51 +0000
(13:21 +0000)
committer
Marina Kolpakova
<no@email>
Wed, 13 Jun 2012 13:21:51 +0000
(13:21 +0000)
modules/highgui/src/cap_v4l.cpp
patch
|
blob
|
history
diff --git
a/modules/highgui/src/cap_v4l.cpp
b/modules/highgui/src/cap_v4l.cpp
index
e76cce9
..
b970fa0
100644
(file)
--- a/
modules/highgui/src/cap_v4l.cpp
+++ b/
modules/highgui/src/cap_v4l.cpp
@@
-2769,9
+2769,9
@@
static void icvCloseCAM_V4L( CvCaptureCAM_V4L* capture ){
perror ("Unable to stop the stream.");
}
- for (unsigned int n_buffers
= 0; n_buffers < capture->req.count; ++n_buffers
)
+ for (unsigned int n_buffers
_ = 0; n_buffers_ < capture->req.count; ++n_buffers_
)
{
- if (-1 == munmap (capture->buffers[n_buffers
].start, capture->buffers[n_buffers
].length)) {
+ if (-1 == munmap (capture->buffers[n_buffers
_].start, capture->buffers[n_buffers_
].length)) {
perror ("munmap");
}
}