[vlc-commits] Removed useless warning

Cheng Sun git at videolan.org
Wed Dec 28 19:15:57 CET 2011


npapi-vlc | branch: master | Cheng Sun <chengsun9 at gmail.com> | Wed Dec 28 12:03:06 2011 +0000| [c298fe4996ba7c2a96f22aadb455738139bdb61a] | committer: Jean-Baptiste Kempf

Removed useless warning

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 npapi/vlcplugin_base.cpp |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/npapi/vlcplugin_base.cpp b/npapi/vlcplugin_base.cpp
index 3662fef..1841726 100644
--- a/npapi/vlcplugin_base.cpp
+++ b/npapi/vlcplugin_base.cpp
@@ -391,11 +391,7 @@ void VlcPluginBase::event_callback(const libvlc_event_t* event,
     events.callback(event, npparams, npcount);
     NPN_PluginThreadAsyncCall(getBrowser(), eventAsync, this);
 #else
-#ifdef _MSC_VER
-#pragma message("NPN_PluginThreadAsyncCall not implemented yet.")
-#else
-#warning NPN_PluginThreadAsyncCall not implemented yet.
-#endif //_MSC_VER
+#   warning NPN_PluginThreadAsyncCall not implemented yet.
     printf("No NPN_PluginThreadAsyncCall(), doing nothing.\n");
 #endif
 }



More information about the vlc-commits mailing list