Define default value for char *e

Visual studio's execution flow analysis insists that (e) could be
undefined. I don't see it, but this permits compilation.
This commit is contained in:
Nathanael Jones 2016-05-11 09:58:42 -07:00
parent 8d0ccbeeae
commit 8f37e0f618

View file

@ -318,7 +318,7 @@ static char *struct_ptr(struct capn_segment *s, char *d, int minsz) {
static capn_ptr read_ptr(struct capn_segment *s, char *d) { static capn_ptr read_ptr(struct capn_segment *s, char *d) {
capn_ptr ret = {CAPN_NULL}; capn_ptr ret = {CAPN_NULL};
uint64_t val; uint64_t val;
char *e; char *e = 0;
val = capn_flip64(*(uint64_t*) d); val = capn_flip64(*(uint64_t*) d);