diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2018-01-05 14:58:53 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2018-01-06 14:07:52 +0100 |
commit | d23b52efdb992a055bf9d3a67cf74f2f4434ef3f (patch) | |
tree | eabf6998d3abceee46ea7692ad9275c18bc69261 /src | |
parent | eb542307609d3b2a66058640643c33d1dbc78a41 (diff) | |
download | weechat-d23b52efdb992a055bf9d3a67cf74f2f4434ef3f.zip |
tcl: fix compiler warning (issue #128)
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/tcl/weechat-tcl.c | 4 |
1 files changed, 4 insertions, 0 deletions
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, |