]> git.tue.mpg.de Git - paraslash.git/commitdiff
gcrypt: Remove pointless assignment.
authorAndre Noll <maan@systemlinux.org>
Tue, 15 May 2012 20:16:38 +0000 (22:16 +0200)
committerAndre Noll <maan@systemlinux.org>
Wed, 13 Jun 2012 11:25:49 +0000 (13:25 +0200)
gcrypt.c:700:6: warning: Assigned value is always the same as the existing value
        ret = key->num_bytes;
        ~~~ ^ ~~~~~~~~~~~~~~

gcrypt.c

index 1e997fb45c0bd6a753a79bfcff1db5ede4546782..ea1e7710d01c53f5fd300444970806715ad14241 100644 (file)
--- a/gcrypt.c
+++ b/gcrypt.c
@@ -695,7 +695,6 @@ int get_asymmetric_key(const char *key_file, int private,
        key->num_bytes = ret;
        key->sexp = sexp;
        *result = key;
-       ret = key->num_bytes;
 unmap:
        ret2 = para_munmap(map, map_size);
        if (ret >= 0 && ret2 < 0)