gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet-scheme] 05/08: data-string: Small simplification.


From: gnunet
Subject: [gnunet-scheme] 05/08: data-string: Small simplification.
Date: Mon, 29 Aug 2022 00:15:10 +0200

This is an automated email from the git hooks/post-receive script.

maxime-devos pushed a commit to branch master
in repository gnunet-scheme.

commit 48ce46598fba2decaf0f5d78355a4d3dfd157d37
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Sun Aug 28 23:56:31 2022 +0200

    data-string: Small simplification.
---
 gnu/gnunet/data-string.scm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gnu/gnunet/data-string.scm b/gnu/gnunet/data-string.scm
index d677da7..6b59519 100644
--- a/gnu/gnunet/data-string.scm
+++ b/gnu/gnunet/data-string.scm
@@ -136,8 +136,7 @@ Return the data as a bytevector on success, or raise a
                      (let* ((vbit 5)
                             (shift 0)
                             (rpos (- rpos 1))
-                            (ret (get-value (string-ref enc rpos)))
-                            (bits ret))
+                            (bits (get-value (string-ref enc rpos))))
                        (values vbit shift rpos bits))))
             (? (not (= (/ (+ encoded-len shift) 5)
                        (string-length enc)))

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]