diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-06-15 13:37:44 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-06-15 13:37:44 +0000 |
commit | ca8d41adb5e025d05b520492c917a8f69e19f0f9 (patch) | |
tree | eb7ba718a076837253552688c5bb9617cd9ab654 | |
parent | 9c9ed25b2ef7018dd48b5a577227d072e5e37c9f (diff) |
Add the ugly HELP_MP_DEFINE_STATIC back, otherwise we produce warnings like
./help_mp.h:21: warning: 'help_text' defined but not used
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27071 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | help/help_mp-en.h | 3 | ||||
-rw-r--r-- | mplayer.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/help/help_mp-en.h b/help/help_mp-en.h index 631e07e23e..35e7831520 100644 --- a/help/help_mp-en.h +++ b/help/help_mp-en.h @@ -12,6 +12,7 @@ // ========================= MPlayer help =========================== +#ifdef HELP_MP_DEFINE_STATIC static char help_text[]= "Usage: mplayer [options] [url|path/]filename\n" "\n" @@ -51,7 +52,7 @@ static char help_text[]= "\n" " * * * SEE THE MAN PAGE FOR DETAILS, FURTHER (ADVANCED) OPTIONS AND KEYS * * *\n" "\n"; - +#endif // libmpcodecs/ad_dvdpcm.c: #define MSGTR_SamplesWanted "Samples of this format are needed to improve support. Please contact the developers.\n" @@ -39,6 +39,8 @@ #include "version.h" #include "mp_msg.h" + +#define HELP_MP_DEFINE_STATIC #include "help_mp.h" #include "m_option.h" |