scan-build fix -- assign r on all paths (ncvisual_stream)

This commit is contained in:
nick black 2020-06-01 15:22:46 -04:00
parent cc46571a43
commit 2d0ca67fc5
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -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){