From: Andre Noll Date: Tue, 15 May 2012 20:16:38 +0000 (+0200) Subject: gcrypt: Remove pointless assignment. X-Git-Tag: v0.4.11~7^2~4 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=466c9b7ef6663bcda1aeadf324f74187816da32a;p=paraslash.git gcrypt: Remove pointless assignment. gcrypt.c:700:6: warning: Assigned value is always the same as the existing value ret = key->num_bytes; ~~~ ^ ~~~~~~~~~~~~~~ --- diff --git a/gcrypt.c b/gcrypt.c index 1e997fb4..ea1e7710 100644 --- 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)