summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtyom V. Poptsov <poptsov.artyom@gmail.com>2016-11-06 07:26:37 +0300
committerArtyom V. Poptsov <poptsov.artyom@gmail.com>2016-11-06 07:26:37 +0300
commit658dfb4be3c8b318c31b38c3d5706402d1c3531d (patch)
tree95f95eb815f2b8abe2079e80ea6228eabebdf27b
parentbuild: Build with '-Wall'. (diff)
downloadguile-ssh-658dfb4be3c8b318c31b38c3d5706402d1c3531d.tar.gz
channel-func.c (guile_ssh_channel_get_stream): Fix a warning
* libguile-ssh/channel-func.c (guile_ssh_channel_get_stream): Fix a warning due to missed 'return' statement at the end of non-void procedure.
-rw-r--r--libguile-ssh/channel-func.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libguile-ssh/channel-func.c b/libguile-ssh/channel-func.c
index 3f1a09a..a1f63a7 100644
--- a/libguile-ssh/channel-func.c
+++ b/libguile-ssh/channel-func.c
@@ -437,6 +437,8 @@ Return one of the following symbols: \"stdout\", \"stderr\".\
guile_ssh_error1 (FUNC_NAME, "Wrong stream.",
scm_from_int (cd->is_stderr));
+
+ return SCM_UNDEFINED;
}
#undef FUNC_NAME