ref: bf1cebabe1e69aafd9be5d68f40f65e1d537bae6
parent: f89e01cfd6dfd6e278d9c3b6978e8cc32f9089ee
author: Sigrid <sigrid.haflinadottir@gmail.com>
date: Mon May 21 07:29:07 EDT 2018
fix warnings
--- a/c9.c
+++ b/c9.c
@@ -368,7 +368,7 @@
C9error
c9create(C9ctx *c, C9tag *tag, C9fid fid, const char *name, uint32_t perm, C9mode mode)
{
- uint32_t nlen = safestrlen(name);
+ uint32_t nlen = strlen(name);
uint8_t *b;
C9error err;
@@ -588,6 +588,7 @@
break;
}
}
+ /* fallthrough */
case Rclunk:
case Rremove:
case Rwstat: