summaryrefslogtreecommitdiffstats
path: root/xlators/debug/error-gen/src/error-gen.c
diff options
context:
space:
mode:
authorMichael Scherer <misc@redhat.com>2017-02-23 23:24:42 +0100
committerShyamsundar Ranganathan <srangana@redhat.com>2017-02-24 09:49:19 -0500
commitf08f5bfef923259fe6de6d41a0a2b1b9140fc547 (patch)
tree40e589b820cd00061347c2b7197fa09b0310520a /xlators/debug/error-gen/src/error-gen.c
parent62d3a2c3fc4e09fe8d1cb05f228715eede1a265d (diff)
Do not call va_end twice in _gf_log_eh
Since va_end is called after the out label, we do not need to call it here, as it make va_end undefined, and thus could cause problem. And this is a error on cppcheck. Change-Id: I6e96c796bd37fa3cde989996ab93f9a438c0ee74 BUG: 789278 Signed-off-by: Michael Scherer <misc@redhat.com> Reviewed-on: https://review.gluster.org/16745 Smoke: Gluster Build System <jenkins@build.gluster.org> Tested-by: Michael Scherer <misc@fedoraproject.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Shyamsundar Ranganathan <srangana@redhat.com>
Diffstat (limited to 'xlators/debug/error-gen/src/error-gen.c')
0 files changed, 0 insertions, 0 deletions