projects
/
oweals
/
opkg-lede.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make a couple of functions static, and return void since they cannot fail.
[oweals/opkg-lede.git]
/
libopkg
/
pkg_hash.c
diff --git
a/libopkg/pkg_hash.c
b/libopkg/pkg_hash.c
index ace26bf0cbcc90eceafe2effcc72952c6b228899..83415ab96e70b6c7e4a231bf5769e2a032353f36 100644
(file)
--- a/
libopkg/pkg_hash.c
+++ b/
libopkg/pkg_hash.c
@@
-609,7
+609,6
@@
static abstract_pkg_t * add_new_abstract_pkg_by_name(hash_table_t * hash, const
abstract_pkg_t * ab_pkg;
ab_pkg = abstract_pkg_new();
- if (ab_pkg == NULL) { return NULL; }
ab_pkg->name = xstrdup(pkg_name);
hash_table_insert(hash, pkg_name, ab_pkg);