[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] branch main updated: Fixed style for 02439a124
From: |
Daniel Llorens |
Subject: |
[Guile-commits] branch main updated: Fixed style for 02439a124 |
Date: |
Wed, 19 May 2021 11:37:44 -0400 |
This is an automated email from the git hooks/post-receive script.
lloda pushed a commit to branch main
in repository guile.
The following commit(s) were added to refs/heads/main by this push:
new f3a23ed Fixed style for 02439a124
f3a23ed is described below
commit f3a23edf9ed111caab7bbad583874ad34ff8652d
Author: jakub-w <jakub-w@riseup.net>
AuthorDate: Wed May 19 17:14:35 2021 +0200
Fixed style for 02439a124
* guile-readline/readline.c (scm_filename_completion_function)
---
guile-readline/readline.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/guile-readline/readline.c b/guile-readline/readline.c
index 7bb2394..469d6ec 100644
--- a/guile-readline/readline.c
+++ b/guile-readline/readline.c
@@ -379,7 +379,6 @@ SCM_DEFINE (scm_filename_completion_function,
"filename-completion-function", 2,
#define FUNC_NAME s_scm_filename_completion_function
{
char *s;
- SCM ans;
char *c_text = scm_to_locale_string (text);
#ifdef HAVE_RL_FILENAME_COMPLETION_FUNCTION
s = rl_filename_completion_function (c_text, scm_is_true (continuep));
@@ -387,11 +386,10 @@ SCM_DEFINE (scm_filename_completion_function,
"filename-completion-function", 2,
s = filename_completion_function (c_text, scm_is_true (continuep));
#endif
free (c_text);
- if (!s) {
+ if (!s)
return SCM_BOOL_F;
- }
- ans = scm_take_locale_string (s);
- return ans;
+
+ return scm_take_locale_string (s);
}
#undef FUNC_NAME
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Guile-commits] branch main updated: Fixed style for 02439a124,
Daniel Llorens <=