From: Chris Rienzo Date: Mon, 15 Apr 2019 20:27:23 +0000 (+0000) Subject: FS-11785 [mod_av] fix dead assignments in test code X-Git-Tag: v1.10.0~169 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12316c8d46064646d8b4688101f1893b954542b7;p=thirdparty%2Ffreeswitch.git FS-11785 [mod_av] fix dead assignments in test code --- diff --git a/src/mod/applications/mod_av/test/test_avformat.c b/src/mod/applications/mod_av/test/test_avformat.c index de7150e3c9..c697729e54 100644 --- a/src/mod/applications/mod_av/test/test_avformat.c +++ b/src/mod/applications/mod_av/test/test_avformat.c @@ -88,8 +88,8 @@ FST_CORE_BEGIN("conf") switch_img_fill(img, 0, 0, img->d_w, img->d_h, &color); switch_img_patch(img, ccimg, i * 10, i * 10); - status = switch_core_file_write(&fh, data, &len); - status = switch_core_file_write_video(&fh, &frame); + switch_core_file_write(&fh, data, &len); + switch_core_file_write_video(&fh, &frame); switch_yield(100000); } @@ -145,8 +145,8 @@ FST_CORE_BEGIN("conf") switch_img_fill(img, 0, 0, img->d_w, img->d_h, &color); switch_img_patch(img, ccimg, i * 10, i * 10); - status = switch_core_file_write(&fh, data, &len); - status = switch_core_file_write_video(&fh, &frame); + switch_core_file_write(&fh, data, &len); + switch_core_file_write_video(&fh, &frame); switch_yield(100000); }