From: Phil Mayers Date: Fri, 21 Sep 2012 16:49:34 +0000 (+0100) Subject: remove dead code path X-Git-Tag: release_3_0_0_beta1~1662^2~1^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=225a3e205ca6f5fb971185cf1e47ea2f15456bce;p=thirdparty%2Ffreeradius-server.git remove dead code path --- diff --git a/src/main/xlat.c b/src/main/xlat.c index 702ceb10957..c9512fbefdd 100644 --- a/src/main/xlat.c +++ b/src/main/xlat.c @@ -1190,7 +1190,6 @@ int radius_xlat(char *out, int outlen, const char *fmt, VALUE_PAIR *tmp; struct tm *TM, s_TM; char tmpdt[40]; /* For temporary storing of dates */ - int openbraces=0; /* * Catch bad modules. @@ -1219,11 +1218,6 @@ int radius_xlat(char *out, int outlen, const char *fmt, * then we assume this brace is NOT literal, but is * a closing brace and apply it */ - if ((c == '}') && openbraces) { - openbraces--; - p++; /* skip it */ - continue; - } *q++ = *p++; continue; }