diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2018-11-13 20:48:04 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2018-11-13 20:48:04 +0100 |
commit | 88adc5d703a9b8b74dde76f106bb80fc1320dcca (patch) | |
tree | fb07d70f8a727c3fc1fa4ae0eaf3fee7ad115dae /doc | |
parent | b2d9b2f0ba24f5c563135a415218f7b674df278b (diff) | |
download | weechat-88adc5d703a9b8b74dde76f106bb80fc1320dcca.zip |
doc: add missing variable "pointer" to make C compiler really happy (plugin API reference)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/en/weechat_plugin_api.en.adoc | 1 | ||||
-rw-r--r-- | doc/fr/weechat_plugin_api.fr.adoc | 1 | ||||
-rw-r--r-- | doc/it/weechat_plugin_api.it.adoc | 1 | ||||
-rw-r--r-- | doc/ja/weechat_plugin_api.ja.adoc | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/doc/en/weechat_plugin_api.en.adoc b/doc/en/weechat_plugin_api.en.adoc index aeddbe523..ec2d5cf28 100644 --- a/doc/en/weechat_plugin_api.en.adoc +++ b/doc/en/weechat_plugin_api.en.adoc @@ -192,6 +192,7 @@ command_double_cb (const void *pointer, void *data, int argc, char **argv, char **argv_eol) { /* make C compiler happy */ + (void) pointer; (void) data; (void) buffer; (void) argv; diff --git a/doc/fr/weechat_plugin_api.fr.adoc b/doc/fr/weechat_plugin_api.fr.adoc index b07bc4587..2371a1aaa 100644 --- a/doc/fr/weechat_plugin_api.fr.adoc +++ b/doc/fr/weechat_plugin_api.fr.adoc @@ -197,6 +197,7 @@ commande_double_cb (const void *pointer, void *data, int argc, char **argv, char **argv_eol) { /* pour que le compilateur C soit content */ + (void) pointer; (void) data; (void) buffer; (void) argv; diff --git a/doc/it/weechat_plugin_api.it.adoc b/doc/it/weechat_plugin_api.it.adoc index 098aaf87b..19cae1d1d 100644 --- a/doc/it/weechat_plugin_api.it.adoc +++ b/doc/it/weechat_plugin_api.it.adoc @@ -210,6 +210,7 @@ command_double_cb (const void *pointer, void *data, int argc, char **argv, char **argv_eol) { /* fa felice il compilatore C */ + (void) pointer; (void) data; (void) buffer; (void) argv; diff --git a/doc/ja/weechat_plugin_api.ja.adoc b/doc/ja/weechat_plugin_api.ja.adoc index d11a38bf9..5e242f9bb 100644 --- a/doc/ja/weechat_plugin_api.ja.adoc +++ b/doc/ja/weechat_plugin_api.ja.adoc @@ -198,6 +198,7 @@ command_double_cb (const void *pointer, void *data, int argc, char **argv, char **argv_eol) { /* C 言語コンパイラ向けに必要 */ + (void) pointer; (void) data; (void) buffer; (void) argv; |