diff options
author | Moritz Schulte <mo@g10code.com> | 2005-06-17 12:59:03 +0000 |
---|---|---|
committer | Moritz Schulte <mo@g10code.com> | 2005-06-17 12:59:03 +0000 |
commit | 035b111052a3093352c1be93c614af243a9a35a3 (patch) | |
tree | f9c3c469191e85146ec20fe3e6ac9fb5d8a385d8 | |
parent | 839a1b1e5a81f16b9598c437f6b7daacaa08eeeb (diff) | |
download | libgcrypt-035b111052a3093352c1be93c614af243a9a35a3.tar.gz |
2005-06-17 Moritz Schulte <moritz@g10code.com>
* global.c (gcry_xstrdup): Removed superfluous strcpy call.
-rw-r--r-- | src/ChangeLog | 4 | ||||
-rw-r--r-- | src/global.c | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 734fab28..f6d423b6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2005-06-17 Moritz Schulte <moritz@g10code.com> + + * global.c (gcry_xstrdup): Removed superfluous strcpy call. + 2005-04-22 Moritz Schulte <moritz@g10code.com> * Makefile.am (pkgconfigdir, pkgconfig_DATA): New; support for diff --git a/src/global.c b/src/global.c index 513eec35..3157457d 100644 --- a/src/global.c +++ b/src/global.c @@ -632,7 +632,6 @@ gcry_xstrdup (const char *string) } } - strcpy( p, string ); return p; } |