Fix formatting

This commit is contained in:
Eric Fischer 2015-06-17 17:30:17 -07:00
parent cde1e60603
commit 725ea71e57
2 changed files with 5 additions and 5 deletions

View File

@ -403,7 +403,7 @@ long long addpool(FILE *poolfile, long long *poolpos, char *s) {
} }
*sp = malloc(sizeof(struct stringpool)); *sp = malloc(sizeof(struct stringpool));
(*sp)->s = strdup(s); // XXX really should be mapped from the pool itself (*sp)->s = strdup(s); // XXX really should be mapped from the pool itself
(*sp)->left = NULL; (*sp)->left = NULL;
(*sp)->right = NULL; (*sp)->right = NULL;
(*sp)->off = *poolpos; (*sp)->off = *poolpos;

View File

@ -187,13 +187,13 @@ int coalindexcmp(const struct coalesce *c1, const struct coalesce *c2) {
} }
struct pool_val *retrieve_string(char **f, struct pool *p, int type, char *stringpool) { struct pool_val *retrieve_string(char **f, struct pool *p, int type, char *stringpool) {
struct pool_val *ret; struct pool_val *ret;
long long off; long long off;
deserialize_long_long(f, &off); deserialize_long_long(f, &off);
ret = pool(p, stringpool + off, type); ret = pool(p, stringpool + off, type);
return ret; return ret;
} }
void decode_meta(char **meta, char *stringpool, struct pool *keys, struct pool *values, struct pool *file_keys, std::vector<int> *intmeta, char *only) { void decode_meta(char **meta, char *stringpool, struct pool *keys, struct pool *values, struct pool *file_keys, std::vector<int> *intmeta, char *only) {