[vlc-commits] test: fix variable shadowing

Rémi Denis-Courmont git at videolan.org
Sun Mar 3 20:24:59 CET 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Mar  3 21:24:37 2019 +0200| [b1b82dd7dc3d98d88518aef9e155dc7e134bb2bd] | committer: Rémi Denis-Courmont

test: fix variable shadowing

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b1b82dd7dc3d98d88518aef9e155dc7e134bb2bd
---

 test/src/interface/dialog.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/src/interface/dialog.c b/test/src/interface/dialog.c
index bb1fe23286..c623bdf85f 100644
--- a/test/src/interface/dialog.c
+++ b/test/src/interface/dialog.c
@@ -313,7 +313,7 @@ main(int i_argc, char *ppsz_argv[])
         static const char *args[] = {
             "--no-qt-privacy-ask", /* avoid dialog that ask for privacy */
         };
-        libvlc_instance_t *p_libvlc = libvlc_new(1, args);
+        p_libvlc = libvlc_new(1, args);
         assert(p_libvlc != NULL);
 
         int i_ret = libvlc_InternalAddIntf(p_libvlc->p_libvlc_int, "qt");



More information about the vlc-commits mailing list