Remove useless comparison to NULL before freeing variables
modified libpkg/pkg.c
@@ -347,7 +347,6 @@ pkg_vset(struct pkg *pkg, va_list ap)
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified libpkg/pkg_audit.c
@@ -184,21 +184,16 @@ pkg_audit_free_entry(struct pkg_audit_entry *e)
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
| - | |
|
|
| - | |
|
|
| - | |
|
|
|
|
|
modified libpkg/pkg_cudf.c
@@ -518,7 +518,6 @@ pkg_jobs_cudf_parse_output(struct pkg_jobs *j, FILE *f)
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified libpkg/pkg_jobs.c
@@ -120,9 +120,7 @@ pkg_jobs_destdir(struct pkg_jobs *j)
|
|
|
|
|
|
| - | |
|
|
| - | |
|
|
|
|
|
@@ -659,7 +657,6 @@ pkg_jobs_try_remote_candidate(struct pkg_jobs *j, const char *pattern,
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified libpkg/pkg_ports.c
@@ -460,7 +460,6 @@ setmod(struct plist *p, char *line, struct file_attr *a)
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -475,7 +474,6 @@ setowner(struct plist *p, char *line, struct file_attr *a)
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -1126,11 +1124,8 @@ ports_parse_plist(struct pkg *pkg, const char *plist, const char *stage)
|
|
|
|
|
|
| - | |
|
|
| - | |
|
|
| - | |
|
|
|
|
|
modified libpkg/pkg_repo.c
@@ -606,7 +606,6 @@ pkg_repo_archive_extract_archive(int fd, const char *file,
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified libpkg/pkg_repo_create.c
@@ -417,7 +417,6 @@ cleanup:
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -1094,7 +1093,6 @@ cleanup:
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified libpkg/pkg_repo_meta.c
@@ -168,8 +168,7 @@ pkg_repo_meta_parse_cert(const ucl_object_t *obj)
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_solve.c
@@ -932,7 +932,6 @@ pkg_solve_parse_sat_output(FILE *f, struct pkg_solve_problem *problem, struct pk
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified libpkg/repo/binary/update.c
@@ -527,7 +527,6 @@ pkg_repo_binary_parse_conflicts(FILE *f, sqlite3 *sqlite)
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified src/annotate.c
@@ -382,9 +382,7 @@ exec_annotate(int argc, char **argv)
|
|
|
|
|
|
| - | |
|
|
| - | |
|
|
|
|
|
modified src/check.c
@@ -186,7 +186,6 @@ fix_deps(struct pkgdb *db, struct deps_head *dh, int nbpkgs, bool yes)
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified src/event.c
@@ -353,10 +353,8 @@ event_sandboxed_get_string(pkg_sandbox_cb func, char **result, int64_t *len,
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
| - | |
|
|
|
|
|
modified src/info.c
@@ -514,7 +514,6 @@ exec_info(int argc, char **argv)
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified src/lock.c
@@ -245,9 +245,7 @@ exec_lock_unlock(int argc, char **argv, enum action action)
|
|
|
|
|
|
| - | |
|
|
| - | |
|
|
|
|
|
modified src/query.c
@@ -998,7 +998,6 @@ exec_query(int argc, char **argv)
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified src/set.c
@@ -128,7 +128,6 @@ exec_set(int argc, char **argv)
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -250,10 +249,8 @@ exec_set(int argc, char **argv)
|
|
|
|
|
|
| - | |
|
|
|
|
| - | |
|
|
|
|
|