mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-17 06:45:05 -05: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)
|
int pacman_add(alpm_list_t *targets)
|
||||||
{
|
{
|
||||||
alpm_list_t *i = targets, *data;
|
alpm_list_t *i = targets, *data = NULL;
|
||||||
int retval = 0;
|
int retval = 0;
|
||||||
|
|
||||||
if(targets == NULL) {
|
if(targets == NULL) {
|
||||||
|
@ -39,7 +39,7 @@ extern pmdb_t *db_local;
|
|||||||
|
|
||||||
int pacman_remove(alpm_list_t *targets)
|
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;
|
int retval = 0;
|
||||||
|
|
||||||
if(targets == NULL) {
|
if(targets == NULL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user