From 2d0ca67fc5996007a99dacaa9b2dd23b713c6529 Mon Sep 17 00:00:00 2001 From: nick black Date: Mon, 1 Jun 2020 15:22:46 -0400 Subject: [PATCH] scan-build fix -- assign r on all paths (ncvisual_stream) --- src/lib/ffmpeg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ffmpeg.cpp b/src/lib/ffmpeg.cpp index cd8a3d878..e8bd892ef 100644 --- a/src/lib/ffmpeg.cpp +++ b/src/lib/ffmpeg.cpp @@ -373,7 +373,7 @@ int ncvisual_stream(notcurses* nc, ncvisual* ncv, nc_err_e* ncerr, if(streamer){ r = streamer(newn, ncv, &abstime, curry); }else{ - ncvisual_simple_streamer(activevopts.n, ncv, &abstime, curry); + r = ncvisual_simple_streamer(activevopts.n, ncv, &abstime, curry); } if(r){ if(activevopts.n != vopts->n){