mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-22 15:58:50 -05:00
code beautifying
This commit is contained in:
parent
2a3968b8bc
commit
447885fdc3
@ -485,9 +485,9 @@ void *alpm_sync_getinfo(pmsyncpkg_t *sync, unsigned char parm)
|
||||
ASSERT(sync != NULL, return(NULL));
|
||||
|
||||
switch(parm) {
|
||||
case PM_SYNC_TYPE: data = (void *)(int)sync->type; break;
|
||||
case PM_SYNC_PKG: data = sync->pkg; break;
|
||||
case PM_SYNC_DATA: data = sync->data; break;
|
||||
case PM_SYNC_TYPE: data = (void *)(int)sync->type; break;
|
||||
case PM_SYNC_PKG: data = sync->pkg; break;
|
||||
case PM_SYNC_DATA: data = sync->data; break;
|
||||
default:
|
||||
data = NULL;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user