Remove leftover
Workaround cppcheck warning: Assignment of function parameter has no effect outside the function
Chocobo1 committed
Sep 25, 2016 at 18:05 UTC
e64c635c736b3b297ccedc5219b0e51ebe4e00ca
1 file changed
+2
-3
src/registry.c
+2
-3
@@ -29,7 +29,7 @@
29
// per client IP per hour
30
//
31
// 3. lower memory requirements
32
-//
32
+//
33
// - embed avl structures directly into registry objects, instead of DICTIONARY
34
// - store GUIDs in memory as UUID instead of char *
35
// (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)
570
else {
571
person_guid = buf;
572
p = registry_person_find(person_guid);
573
- if(!p) person_guid = NULL;
573
}
574
}
575
@@ -805,7 +804,7 @@ int registry_log_load(void) {
804
break;
805
}
806
}
808
-
807
+
808
fclose(fp);
809
}
810