[vlc-commits] config: mute warning

Rémi Denis-Courmont git at videolan.org
Sun Apr 14 09:05:29 CEST 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Apr 14 09:32:50 2019 +0300| [5cb1021cfa9bd1b43c574caeb7769143b3988a4f] | committer: Rémi Denis-Courmont

config: mute warning

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

 src/config/help.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/config/help.c b/src/config/help.c
index 160c434a36..9e013da29b 100644
--- a/src/config/help.c
+++ b/src/config/help.c
@@ -40,7 +40,7 @@
 
 #if defined( _WIN32 )
 # include <vlc_charset.h>
-# define wcwidth(cp) (cp, 1) /* LOL */
+# define wcwidth(cp) ((void)(cp), 1) /* LOL */
 #else
 # include <unistd.h>
 # include <termios.h>



More information about the vlc-commits mailing list