mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
javascript: fix compiler warning (issue #128)
This commit is contained in:
@@ -281,6 +281,10 @@ weechat_js_load (const char *filename, const char *code)
|
||||
{
|
||||
char *source;
|
||||
|
||||
/* make C compiler happy */
|
||||
/* TODO: implement load of code in Javascript */
|
||||
(void) code;
|
||||
|
||||
source = weechat_file_get_content (filename);
|
||||
if (!source)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user