]> git.proxmox.com Git - ovs.git/commit
expr: Refine handling of error parameter to expr_annotate().
authorBen Pfaff <blp@ovn.org>
Wed, 3 Aug 2016 04:53:59 +0000 (21:53 -0700)
committerBen Pfaff <blp@ovn.org>
Mon, 8 Aug 2016 18:00:44 +0000 (11:00 -0700)
commit46baac6df441f3db4dceb9c9d332f0069187cb65
treee0237bbd6dabd9032af72377cbcd582b2ef0ccf3
parentab5a5bd9a2d5188d2c1fcf7f8909a1eaf7d04e61
expr: Refine handling of error parameter to expr_annotate().

In most cases expr_annotate() set '*errorp' to NULL if it was successful,
but there was one case where it did not.  This corrects that and refines
the comment to better explain the intended behavior.

This didn't affect any existing users because all of them passed in a
pointer that was already NULL.

Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Ryan Moats <rmoats@us.ibm.com>
ovn/lib/expr.c