projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98c13e1
)
gcrypt: Remove pointless assignment.
author
Andre Noll
<maan@systemlinux.org>
Tue, 15 May 2012 20:16:38 +0000
(22:16 +0200)
committer
Andre 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
patch
|
blob
|
history
diff --git
a/gcrypt.c
b/gcrypt.c
index
1e997fb
..
ea1e771
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)