From 7f92dfbc7e062f61fdde0b6ee6d06d5a6d3993e3 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Thu, 5 Feb 2015 14:14:34 +1100 Subject: [PATCH] Remove unnecessary warning --- src/generator.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/generator.c b/src/generator.c index 59ca9401..d2708bdf 100644 --- a/src/generator.c +++ b/src/generator.c @@ -1079,11 +1079,13 @@ out: if (ret) { /* Now parse any cached responses so there are none in the * queue and they can be managed one at a time from now on. */ - do { + while(42) { dealloc(buf); buf = cached_proxy_line(proxi); + if (!buf) + break; parse_method(proxi, buf); - } while (buf); + }; } return ret; }