[master] 59902e0 Don't return void returning function call

Poul-Henning Kamp phk at FreeBSD.org
Fri Nov 29 12:21:19 CET 2013


commit 59902e0ef39c77938bef2be1abe48fa8ab2fe1d3
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Fri Nov 29 11:21:07 2013 +0000

    Don't return void returning function call

diff --git a/lib/libvarnishapi/vsl_dispatch.c b/lib/libvarnishapi/vsl_dispatch.c
index a9303f2..c5e7d4f 100644
--- a/lib/libvarnishapi/vsl_dispatch.c
+++ b/lib/libvarnishapi/vsl_dispatch.c
@@ -835,8 +835,8 @@ vtx_scan(struct VSLQ *vslq, struct vtx *vtx)
 
 		case SLT_End:
 			vtx->flags |= VTX_F_END;
-			return (vtx_mark_complete(vslq, vtx));
-
+			vtx_mark_complete(vslq, vtx);
+			break;
 		default:
 			break;
 		}




More information about the varnish-commit mailing list