quality: remove dead assignements
modified libpkg/backup_lib.c
@@ -36,7 +36,6 @@ register_backup(struct pkgdb *db, int fd, const char *path)
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -49,8 +48,7 @@ register_backup(struct pkgdb *db, int fd, const char *path)
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -100,7 +98,7 @@ backup_library(struct pkgdb *db, struct pkg *p, const char *path)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -162,7 +160,6 @@ backup_library(struct pkgdb *db, struct pkg *p, const char *path)
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified libpkg/flags.c
@@ -77,7 +77,6 @@ checkflags(const char *mode, int *optr)
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified libpkg/lua_scripts.c
@@ -186,12 +186,9 @@ pkg_lua_script_to_ucl(struct pkg_lua_script *scripts)
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
modified libpkg/pkg_audit.c
@@ -157,7 +157,7 @@ static int
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -176,7 +176,7 @@ pkg_audit_sandboxed_extract(int fd, void *ud)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_create.c
@@ -381,7 +381,7 @@ pkg_create(struct pkg_create *pc, const char *metadata, const char *plist,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_cudf.c
@@ -431,12 +431,11 @@ pkg_jobs_cudf_parse_output(struct pkg_jobs *j, FILE *f)
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_delete.c
@@ -62,7 +62,6 @@ pkg_delete(struct pkg *pkg, struct pkgdb *db, unsigned flags)
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -122,7 +121,6 @@ pkg_delete(struct pkg *pkg, struct pkgdb *db, unsigned flags)
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified libpkg/pkg_manifest.c
@@ -878,7 +878,7 @@ pkg_parse_manifest_fileat(int dfd, struct pkg *pkg, const char *file,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_repo_create.c
@@ -596,7 +596,7 @@ pkg_create_repo(char *path, const char *output_dir, bool filelist,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -796,7 +796,6 @@ pkg_create_repo(char *path, const char *output_dir, bool filelist,
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified libpkg/pkgdb_iterator.c
@@ -293,7 +293,7 @@ pkgdb_load_deps(sqlite3 *sqlite, struct pkg *pkg)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -311,8 +311,7 @@ pkgdb_load_deps(sqlite3 *sqlite, struct pkg *pkg)
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -438,7 +437,7 @@ pkgdb_load_files(sqlite3 *sqlite, struct pkg *pkg)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/stats.c
@@ -88,7 +88,7 @@ exec_stats(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/triggers.c
@@ -59,7 +59,7 @@ exec_triggers(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/which.c
@@ -74,7 +74,7 @@ exec_which(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -212,7 +212,7 @@ exec_which(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|