lib/core/text: Replaced most polymorph accesses to Text attributes by direct accesses
[nit.git] / lib / sha1.nit
index eea4c03..8a5acc9 100644 (file)
@@ -231,7 +231,6 @@ redef class String
        #     import base64
        #     assert "The quick brown fox jumps over the lazy dog".sha1.encode_base64 == "L9ThxnotKPzthJ7hu3bnORuT6xI="
        fun sha1: String import String.to_cstring, String.length, NativeString.to_s_with_length `{
-               uint32_t a;
                sha1nfo s;
 
                sha1_init(&s);
@@ -254,7 +253,6 @@ redef class String
        #
        #     assert "The quick brown fox jumps over the lazy dog".sha1_to_s == "2FD4E1C67A2D28FCED849EE1BB76E7391B93EB12"
        fun sha1_to_s: String import String.to_cstring, String.length, NativeString.to_s_with_length `{
-               uint32_t a;
                sha1nfo s;
 
                sha1_init(&s);