diff options
author | Chocobo1 <Chocobo1@users.noreply.github.com> | 2016-09-25 18:05:31 +0800 |
---|---|---|
committer | Chocobo1 <Chocobo1@users.noreply.github.com> | 2016-09-26 11:40:54 +0800 |
commit | e64c635c736b3b297ccedc5219b0e51ebe4e00ca (patch) | |
tree | cc9ee4eb5f7b11457dec57392b0499dc50f3d96a /src/registry.c | |
parent | 9ae48c3336d979f7e2beb6f1ce0e154ff9b93334 (diff) |
Remove leftover
Workaround cppcheck warning:
Assignment of function parameter has no effect outside the function
Diffstat (limited to 'src/registry.c')
-rw-r--r-- | src/registry.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/registry.c b/src/registry.c index 3c0a5ed77b..6f4d9011e9 100644 --- a/src/registry.c +++ b/src/registry.c @@ -29,7 +29,7 @@ // per client IP per hour // // 3. lower memory requirements -// +// // - embed avl structures directly into registry objects, instead of DICTIONARY // - store GUIDs in memory as UUID instead of char * // (this will also remove the index hash, since UUIDs can be compared directly) @@ -570,7 +570,6 @@ static inline PERSON *registry_person_get(const char *person_guid, time_t when) else { person_guid = buf; p = registry_person_find(person_guid); - if(!p) person_guid = NULL; } } @@ -805,7 +804,7 @@ int registry_log_load(void) { break; } } - + fclose(fp); } |