aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Łyszczek <michal.lyszczek@bofc.pl>2018-05-25 13:02:02 +0200
committerMichał Łyszczek <michal.lyszczek@bofc.pl>2018-05-25 13:02:02 +0200
commit3ecb9266948658b8322acb0f0b7132b27a1e077c (patch)
treedc080c75c9f05dd9ac338a5dfdd0aec635602451
parent4af525b7d3d3a5fdcd685836b8aa2262ee907659 (diff)
downloadlibrb-3ecb9266948658b8322acb0f0b7132b27a1e077c.tar.gz
librb-3ecb9266948658b8322acb0f0b7132b27a1e077c.tar.bz2
librb-3ecb9266948658b8322acb0f0b7132b27a1e077c.zip
silent clang warningnuttx
-rw-r--r--rb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rb.c b/rb.c
index 6d78446..e09ad5e 100644
--- a/rb.c
+++ b/rb.c
@@ -1047,7 +1047,7 @@ int rb_destroy
{
free(rb->buffer);
free(rb);
- return 0;
+ return e;
}
e = rb_cleanup_p(rb);