commit | adaf92303139c519ac54bcfc1bba18bcfce75fdb | [log] [tgz] |
---|---|---|
author | Jeff Thompson <jefft0@gmail.com> | Thu Aug 08 14:30:29 2013 -0700 |
committer | Jeff Thompson <jefft0@gmail.com> | Thu Aug 08 14:30:29 2013 -0700 |
tree | 4a3bf60b67b341cbbbf2003cdf253c7e60a3cb10 | |
parent | 94ddc27048a940c4d0c4d2e6c1be59dab1bad576 [diff] [blame] |
To avoid warnings on some compilers, return NDN_ERROR_success instead of 0.
diff --git a/ndn-cpp/c/util/dynamic-uchar-array.h b/ndn-cpp/c/util/dynamic-uchar-array.h index ab5dca4..9543721 100644 --- a/ndn-cpp/c/util/dynamic-uchar-array.h +++ b/ndn-cpp/c/util/dynamic-uchar-array.h
@@ -78,6 +78,7 @@ if ((error = ndn_DynamicUCharArray_ensureLength(self, valueLength + offset))) return error; ndn_memcpy(self->array + offset, value, valueLength); + return NDN_ERROR_success; }; #ifdef __cplusplus