]> arthur.barton.de Git - netdata.git/blobdiff - src/registry.c
Remove leftover
[netdata.git] / src / registry.c
index 3c0a5ed77b4283a066959f38a6308a746c63251a..6f4d9011e9482c59d283fffc356fa690f620a126 100644 (file)
@@ -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);
     }