projects
/
platform
/
upstream
/
v4l-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1fc29f
)
contrib/m920x/m920x_parse.pl: silence a warning
author
Antonio Ospite
<ospite@studenti.unina.it>
Sat, 29 Dec 2012 21:37:08 +0000
(18:37 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Tue, 1 Jan 2013 13:14:03 +0000
(11:14 -0200)
Silence a warning due to the way get_line() is supposed to be called:
Use of uninitialized value $cmd in split at m920x_parse.pl line 118
Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
contrib/m920x/m920x_parse.pl
patch
|
blob
|
history
diff --git
a/contrib/m920x/m920x_parse.pl
b/contrib/m920x/m920x_parse.pl
index
a6ca80a
..
19ff71d
100644
(file)
--- a/
contrib/m920x/m920x_parse.pl
+++ b/
contrib/m920x/m920x_parse.pl
@@
-190,7
+190,7
@@
my @bytes;
if ($mode eq "fw") {
open(OUT, ">", "fw") || die "Can't open fw";
- while(@bytes = get_line()) {
+ while(@bytes = get_line(
"-1"
)) {
if(scalar(@bytes) <= 1) {
last;
}