From d5409aae63a7ac5e5b3ea6cfa16c6250a028291c Mon Sep 17 00:00:00 2001 From: Sakshi Date: Wed, 15 Apr 2015 13:28:24 +0530 Subject: libglusterfs: coverity fix fix missing varargs cleanup CID 1124856: string overflow CID 1124656: NULL return CID 1124374: constant expression Change-Id: Iead530c599bdfef05a40c68b892215f4e4f02247 BUG: 789278 Signed-off-by: Sakshi Bansal Reviewed-on: http://review.gluster.org/9630 Smoke: Gluster Build System NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System Reviewed-by: Jeff Darcy --- libglusterfs/src/timer.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libglusterfs/src/timer.c') diff --git a/libglusterfs/src/timer.c b/libglusterfs/src/timer.c index acd34d8b2a8..a072985acce 100644 --- a/libglusterfs/src/timer.c +++ b/libglusterfs/src/timer.c @@ -230,6 +230,7 @@ gf_timer_registry_init (glusterfs_ctx_t *ctx) ctx->timer = reg; gf_thread_create (®->th, NULL, gf_timer_proc, ctx); + } out: return ctx->timer; -- cgit