]> www.infradead.org Git - users/willy/linux.git/commitdiff
lib-lzo-implement-run-length-encoding-v4.txt
authorDave Rodgman <dave.rodgman@arm.com>
Wed, 5 Dec 2018 00:14:24 +0000 (11:14 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 10 Dec 2018 08:29:17 +0000 (19:29 +1100)
fix warning

Link: http://lkml.kernel.org/r/20181130142600.13782-7-dave.rodgman@arm.com
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
lib/lzo/lzo1x_compress.c

index fa8d4ff38531b3d95fd893aeb66f872c0bacc7b7..03834b99a5a1351f451e8e3c09cb6f3ca56a16ba 100644 (file)
@@ -35,7 +35,7 @@ lzo1x_1_do_compress(const unsigned char *in, size_t in_len,
        ip += ti < 4 ? 4 - ti : 0;
 
        for (;;) {
-               const unsigned char *m_pos;
+               const unsigned char *m_pos = NULL;
                size_t t, m_len, m_off;
                u32 dv;
                u32 run_length = 0;