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 <osp...@studenti.unina.it>
---
 contrib/m920x/m920x_parse.pl |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/m920x/m920x_parse.pl b/contrib/m920x/m920x_parse.pl
index a6ca80a..19ff71d 100755
--- 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;
                }
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to