cfengine/core — pull request #761 by jimis (2013-06-19 15:01:44+00:00)
Title: Fix compiler warning (enum value not handled in switch).

Also output proper ProgrammingError() if unexpected enum value is seen. Thanks @awsiv for pointing this out.