mirror of
https://github.com/moparisthebest/pacman
synced 2024-08-13 17:03:46 -04:00
More uninitialized stuff... I believe these were removed at some point. Should
be fixed.
This commit is contained in:
parent
44dc48f10f
commit
f4340129d5
@ -38,7 +38,7 @@ extern config_t *config;
|
||||
|
||||
int pacman_add(alpm_list_t *targets)
|
||||
{
|
||||
alpm_list_t *i = targets, *data;
|
||||
alpm_list_t *i = targets, *data = NULL;
|
||||
int retval = 0;
|
||||
|
||||
if(targets == NULL) {
|
||||
|
@ -39,7 +39,7 @@ extern pmdb_t *db_local;
|
||||
|
||||
int pacman_remove(alpm_list_t *targets)
|
||||
{
|
||||
alpm_list_t *data, *i, *j, *finaltargs = NULL;
|
||||
alpm_list_t *data = NULL, *i, *j, *finaltargs = NULL;
|
||||
int retval = 0;
|
||||
|
||||
if(targets == NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user