|author||Pavel Březina <firstname.lastname@example.org>||2013-01-02 11:09:32 +0100|
|committer||Jakub Hrozek <email@example.com>||2013-01-02 17:39:44 +0100|
set ret to EOK after for loop in sdap_sudo_purge_sudoers
If we are unable to delete some rule from cache we print a debug message and ignore the error. Thus we should set ret to EOK after the for loop otherwise we return whether the last rule was deleted successfully or not. This also removes compilation warning that ret may be used uninitialized (when we don't go inside the loop at all).
Diffstat (limited to 'src/providers/ad/ad_common.c')
0 files changed, 0 insertions, 0 deletions