Fix Dead assignments found with scan-build.
modified libpkg/fetch.c
@@ -390,7 +390,6 @@ pkg_fetch_file_to_fd(struct pkg_repo *repo, const char *url, int dest, time_t *t
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -533,12 +532,14 @@ pkg_fetch_file_to_fd(struct pkg_repo *repo, const char *url, int dest, time_t *t
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkg_config.c
@@ -292,8 +292,8 @@ static struct config_entry c[] = {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified pkg/main.c
@@ -685,7 +685,6 @@ main(int argc, char **argv)
|
|
|
|
|
|
| - | |
|
|
|
|
|