summaryrefslogtreecommitdiffstats
path: root/src/python/pysss.c
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2015-01-26 13:12:26 +0100
committerJakub Hrozek <jhrozek@redhat.com>2015-03-13 09:56:12 +0100
commit4458dbab001a9718de7fd3b39515183330d370c4 (patch)
treea6f4a4735239f3b36d7f62aca7368a5e05d3cfa1 /src/python/pysss.c
parent641d684ee88c6540a4cf1d74d258614f615699fe (diff)
downloadsssd-4458dbab001a9718de7fd3b39515183330d370c4.tar.gz
sssd-4458dbab001a9718de7fd3b39515183330d370c4.tar.xz
sssd-4458dbab001a9718de7fd3b39515183330d370c4.zip
cache_req: remove default branch from switches
Originaly, the cache_req used enum sss_dp_acct_type to indicate request type but not all types were implemented. Thus we used default branch to indicate unimplemented request type. Now when we switched to a custom enum type we can get rid of the default branch so the compiler can check if all switches contains all values. This proved to be useful during development of new request types. Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/python/pysss.c')
0 files changed, 0 insertions, 0 deletions