Advertisement
Guest User

plugindef.h

a guest
Apr 3rd, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.50 KB | None | 0 0
  1. diff --git a/gemrb/includes/plugindef.h b/gemrb/includes/plugindef.h
  2. index c36636b..66d7ca6 100644
  3. --- a/gemrb/includes/plugindef.h
  4. +++ b/gemrb/includes/plugindef.h
  5. @@ -186,7 +186,7 @@ GEM_EXPORT_DLL const char* GemRBPlugin_Version()
  6.  
  7.  #define GEMRB_PLUGIN(id, desc) \
  8.     namespace { using namespace GemRB;          \
  9. -       bool doRegisterPlugin = (
  10. +       bool doRegisterPlugin __attribute__((unused)) = (
  11.  
  12.  #define PLUGIN_CLASS(id, cls)                  \
  13.         PluginMgr::Get()->RegisterPlugin(id, &CreatePlugin<cls>::func ),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement