1
0
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:
Sébastien Helleu
2018-01-05 14:59:00 +01:00
parent d23b52efdb
commit e87f2e6a46
+4
View File
@@ -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)
{