diff options
author | David Robillard <d@drobilla.net> | 2014-08-08 02:20:44 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-08-08 02:20:44 +0000 |
commit | e6e16adb5473459ec2a0732cbf10bcb6fd7ffe2a (patch) | |
tree | 716629bc038b7bcc87696ae559760d0ba712749d | |
parent | a99251eb4fecfce5fab83f509f3924407f4ae7c6 (diff) | |
download | lilv-e6e16adb5473459ec2a0732cbf10bcb6fd7ffe2a.tar.gz lilv-e6e16adb5473459ec2a0732cbf10bcb6fd7ffe2a.tar.bz2 lilv-e6e16adb5473459ec2a0732cbf10bcb6fd7ffe2a.zip |
Fix various warnings.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5421 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | src/util.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -92,10 +92,10 @@ lilv_strdup(const char* str) return NULL; } - const size_t len = strlen(str); - char* dup = (char*)malloc(len + 1); - memcpy(dup, str, len + 1); - return dup; + const size_t len = strlen(str); + char* copy = (char*)malloc(len + 1); + memcpy(copy, str, len + 1); + return copy; } const char* |