From 282f33d813e896b25f0465c916bdfa369f2da6dd Mon Sep 17 00:00:00 2001 From: Pan7 Date: Sun, 21 Aug 2016 21:35:42 +0200 Subject: [PATCH] Fix for potentially using uninitialized variable --- libs/picomodel/lwo/envelope.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/picomodel/lwo/envelope.c b/libs/picomodel/lwo/envelope.c index db7000ad..4510dade 100644 --- a/libs/picomodel/lwo/envelope.c +++ b/libs/picomodel/lwo/envelope.c @@ -75,6 +75,8 @@ lwEnvelope *lwGetEnvelope( picoMemStream_t *fp, int cksize ){ goto Fail; } + key = NULL; + /* process subchunks as they're encountered */ while ( 1 ) {