Commit d26a6255 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Comment out unused SIZE type



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5003 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 92f77690
......@@ -127,7 +127,7 @@ parse_set(struct vcc *tl)
vcc_NextToken(tl);
switch (vp->fmt) {
case INT:
case SIZE:
// case SIZE:
case TIME:
case DURATION:
// case FLOAT:
......
......@@ -113,7 +113,8 @@ enum var_type {
BACKEND,
BOOL,
INT,
SIZE,
// SIZE,
// FLOAT,
TIME,
DURATION,
STRING,
......
......@@ -342,7 +342,7 @@ vcc_Cond_2(struct vcc *tl)
vcc_NextToken(tl);
switch (vp->fmt) {
case INT: L(tl, vcc_Cond_Int(vp, tl)); break;
case SIZE: L(tl, vcc_Cond_Int(vp, tl)); break;
// case SIZE: L(tl, vcc_Cond_Int(vp, tl)); break;
case BOOL: L(tl, vcc_Cond_Bool(vp, tl)); break;
case IP: L(tl, vcc_Cond_Ip(vp, tl)); break;
case STRING: L(tl, vcc_Cond_String(vp, tl)); break;
......
......@@ -144,10 +144,12 @@ vcc_VarVal(struct vcc *tl, const struct var *vp, const struct token *vt)
vcc_RTimeVal(tl, &d);
ERRCHK(tl);
Fb(tl, 0, "%g", d);
#if 0
} else if (vp->fmt == SIZE) {
vcc_SizeVal(tl, &d);
ERRCHK(tl);
Fb(tl, 0, "%g", d);
#endif
#if 0
} else if (vp->fmt == FLOAT) {
Fb(tl, 0, "%g", vcc_DoubleVal(tl));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment