summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2012-05-16 12:30:19 +0200
committerSebastien Helleu <flashcode@flashtux.org>2012-05-16 12:30:19 +0200
commit68025527874d2d98d4d9f85ddea84db577307743 (patch)
tree73f462ee86593d734262820e9277350299e65aa8 /src/plugins
parent3bc15f0e55e9041319865b8b63d5864ef5c95d0b (diff)
downloadweechat-68025527874d2d98d4d9f85ddea84db577307743.zip
guile: fix crash on ARM when loading guile plugin (bug #36479)
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/scripts/guile/weechat-guile-api.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/plugins/scripts/guile/weechat-guile-api.c b/src/plugins/scripts/guile/weechat-guile-api.c
index 4e5084567..95b309b08 100644
--- a/src/plugins/scripts/guile/weechat-guile-api.c
+++ b/src/plugins/scripts/guile/weechat-guile-api.c
@@ -5245,19 +5245,15 @@ void
weechat_guile_api_module_init (void *data)
{
scm_t_bits port_type;
- scm_t_port *pt;
/* make C compiler happy */
(void) data;
- /* Setting up the xchat output window as our default output ports */
port_type = scm_make_port_type ("weechat_stdout",
&weechat_guile_port_fill_input,
&weechat_guile_port_write);
guile_port = scm_new_port_table_entry (port_type);
SCM_SET_CELL_TYPE (guile_port, port_type | SCM_OPN | SCM_WRTNG);
- pt = SCM_PTAB_ENTRY (guile_port);
- pt->rw_random = 0;
scm_set_current_output_port (guile_port);
scm_set_current_error_port (guile_port);