diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-07-14 22:25:30 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-07-14 22:25:30 +0200 |
commit | d6a4ca14340d6618b782ec04e86281f9a1c2653e (patch) | |
tree | e51b648742ab91cfb2813eb2215674ec66e7d098 /common.c | |
parent | 955552f4fac26c936d1c2951ee0f8fd214b401ef (diff) | |
download | xK-d6a4ca14340d6618b782ec04e86281f9a1c2653e.tar.gz xK-d6a4ca14340d6618b782ec04e86281f9a1c2653e.tar.xz xK-d6a4ca14340d6618b782ec04e86281f9a1c2653e.zip |
Bump liberty, fix map iterators
Diffstat (limited to 'common.c')
-rw-r--r-- | common.c | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -70,17 +70,6 @@ str_vector_find (const struct str_vector *v, const char *s) return -1; } -static void * -str_map_steal (struct str_map *self, const char *key) -{ - void *value = str_map_find (self, key); - void (*free_backup) (void *) = self->free; - self->free = NULL; - str_map_set (self, key, NULL); - self->free = free_backup; - return value; -} - // --- Logging ----------------------------------------------------------------- static void |