From d23b52efdb992a055bf9d3a67cf74f2f4434ef3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Fri, 5 Jan 2018 14:58:53 +0100 Subject: tcl: fix compiler warning (issue #128) --- src/plugins/tcl/weechat-tcl.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/plugins/tcl/weechat-tcl.c b/src/plugins/tcl/weechat-tcl.c index d06bfefb8..4d0c2179d 100644 --- a/src/plugins/tcl/weechat-tcl.c +++ b/src/plugins/tcl/weechat-tcl.c @@ -318,6 +318,10 @@ weechat_tcl_load (const char *filename, const char *code) Tcl_Interp *interp; struct stat buf; + /* make C compiler happy */ + /* TODO: implement load of code in TCL */ + (void) code; + if (stat (filename, &buf) != 0) { weechat_printf (NULL, -- cgit v1.2.3