[pacman-dev] [PATCH] alpm/handle.c: ensure handle is not NULL before proceeding

Rémy Oudompheng remyoudompheng at gmail.com
Mon Mar 28 15:26:03 EDT 2011


On 2011/3/28 Rémy Oudompheng <remyoudompheng at gmail.com> wrote:
> Many alpm_option_get/set_*() functions already check this
> and set pm_errno to the right value, but not all, so
> this improves consistency.

I just noticed the ASSERT..RET_ERR construct, should it be the
preferred way of implementing such things ?

-- 
Rémy.


More information about the pacman-dev mailing list