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

pull/665/head
nick black 4 years ago
parent cc46571a43
commit 2d0ca67fc5
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -373,7 +373,7 @@ int ncvisual_stream(notcurses* nc, ncvisual* ncv, nc_err_e* ncerr,
if(streamer){ if(streamer){
r = streamer(newn, ncv, &abstime, curry); r = streamer(newn, ncv, &abstime, curry);
}else{ }else{
ncvisual_simple_streamer(activevopts.n, ncv, &abstime, curry); r = ncvisual_simple_streamer(activevopts.n, ncv, &abstime, curry);
} }
if(r){ if(r){
if(activevopts.n != vopts->n){ if(activevopts.n != vopts->n){

Loading…
Cancel
Save