X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=src%2Fshared%2Fhwdb-util.c;h=f98d03f7669fd7c4ed0a2864d385d95ef9525c51;hb=de010b0b2e50cf0b3837ce350b116bc92605f67a;hp=fe4785f3e5c9b13346e8687fadc26fd37f719d8e;hpb=80a226b26b5e00a2ef9e85d1321da44cd14d051b;p=thirdparty%2Fsystemd.git diff --git a/src/shared/hwdb-util.c b/src/shared/hwdb-util.c index fe4785f3e5c..f98d03f7669 100644 --- a/src/shared/hwdb-util.c +++ b/src/shared/hwdb-util.c @@ -434,7 +434,7 @@ static int trie_store(struct trie *trie, const char *filename, bool compat) { static int insert_data(struct trie *trie, char **match_list, char *line, const char *filename, uint16_t file_priority, uint32_t line_number, bool compat) { - char *value, **entry; + char *value; assert(line[0] == ' '); @@ -583,7 +583,6 @@ int hwdb_update(const char *root, const char *hwdb_bin_dir, bool strict, bool co _cleanup_free_ char *hwdb_bin = NULL; _cleanup_(trie_freep) struct trie *trie = NULL; _cleanup_strv_free_ char **files = NULL; - char **f; uint16_t file_priority = 1; int r = 0, err;