[vlc-commits] Fix gcrypt warning when building win32 application

Luc Saillard git at videolan.org
Mon Jul 18 16:57:37 CEST 2011


vlc | branch: master | Luc Saillard <luc.saillard at sfr.com> | Mon Jul 18 12:05:05 2011 +0200| [bd90ac8411f60fbade18ad47ac63b42dd1097916] | committer: Rémi Denis-Courmont

Fix gcrypt warning when building win32 application

We must defined all members to NULL (select, waitpid, ...)

In file included from gnutls.c:63:
../../include/vlc_gcrypt.h:81: warning: missing initializer
../../include/vlc_gcrypt.h:81: warning: (near initialization for 'gcry_threads_vlc.read')

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

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

 include/vlc_gcrypt.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/include/vlc_gcrypt.h b/include/vlc_gcrypt.h
index 4bb14f7..4cf65ac 100644
--- a/include/vlc_gcrypt.h
+++ b/include/vlc_gcrypt.h
@@ -76,7 +76,8 @@ static const struct gcry_thread_cbs gcry_threads_vlc =
     gcry_vlc_mutex_init,
     gcry_vlc_mutex_destroy,
     gcry_vlc_mutex_lock,
-    gcry_vlc_mutex_unlock
+    gcry_vlc_mutex_unlock,
+    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL
 };
 #endif
 



More information about the vlc-commits mailing list