ovsdb: Add default case to ovsdb_mutation_set_execute().
authorBen Pfaff <blp@nicira.com>
Wed, 10 Feb 2010 18:51:11 +0000 (10:51 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 11 Feb 2010 18:35:28 +0000 (10:35 -0800)
commit8b71367c38c9d2e57261fe7f30cbfc1d20b39401
tree8421535b4a0cdf0583490be3a47d0d6e1033e461
parentb62aeed2ab06ecb9a3b3a82dc42ebfc2703ef52f
ovsdb: Add default case to ovsdb_mutation_set_execute().

The value of 'error' is indeterminate if m->mutator is not set to a valid
value here, so we should add a default case to handle the exception.  It
shouldn't happen, of course.

Found by Clang (http://clang-analyzer.llvm.org/).
ovsdb/mutation.c