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.c b/ndn-cpp/c/util/dynamic-uchar-array.c index c6a8f40..208544f 100644 --- a/ndn-cpp/c/util/dynamic-uchar-array.c +++ b/ndn-cpp/c/util/dynamic-uchar-array.c
@@ -23,5 +23,5 @@ self->array = newArray; self->length = newLength; - return 0; + return NDN_ERROR_success; } \ No newline at end of file