mirror of https://github.com/adamdruppe/arsd.git
Fixed warnings.
This commit is contained in:
parent
34f9cb1de6
commit
b0603a0fe8
3
web.d
3
web.d
|
@ -1518,7 +1518,7 @@ Form createAutomaticForm(Document document, string action, in Parameter[] parame
|
||||||
}
|
}
|
||||||
|
|
||||||
count++;
|
count++;
|
||||||
};
|
}
|
||||||
|
|
||||||
auto fmt = Element.make("select");
|
auto fmt = Element.make("select");
|
||||||
fmt.name = "format";
|
fmt.name = "format";
|
||||||
|
@ -2161,7 +2161,6 @@ string formatAs(T, R)(T ret, string format, R api = null, JSONValue* returnValue
|
||||||
else goto badType;
|
else goto badType;
|
||||||
+/
|
+/
|
||||||
goto badType; // FIXME
|
goto badType; // FIXME
|
||||||
break;
|
|
||||||
case "json":
|
case "json":
|
||||||
assert(returnValue !is null);
|
assert(returnValue !is null);
|
||||||
*returnValue = toJsonValue!(typeof(ret), R)(ret, formatJsonToStringAs, api);
|
*returnValue = toJsonValue!(typeof(ret), R)(ret, formatJsonToStringAs, api);
|
||||||
|
|
Loading…
Reference in New Issue