From d130dc2694e894939b2c6587af75f2d1bf0fae9b Mon Sep 17 00:00:00 2001 From: totoro Date: Sat, 21 Apr 2018 13:30:02 +0200 Subject: [PATCH] avoid warning with possible hidden value by another with same name --- types/version.anubis | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/version.anubis b/types/version.anubis index 8c41b06..7210128 100644 --- a/types/version.anubis +++ b/types/version.anubis @@ -62,11 +62,11 @@ define Maybe(Version) if v > 255 then //the value is greater than Word8 capacity failure else - with value = value | ((v&0xFF)<< (current * 8)), + with final_value = value | ((v&0xFF)<< (current * 8)), if current = 0 then - success(version(value)) + success(version(final_value)) else - convert_digits_to_Version(t, current -1, value) + convert_digits_to_Version(t, current -1, final_value) } }. -- libgit2 0.21.4