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++;
|
||||
};
|
||||
}
|
||||
|
||||
auto fmt = Element.make("select");
|
||||
fmt.name = "format";
|
||||
|
@ -2161,7 +2161,6 @@ string formatAs(T, R)(T ret, string format, R api = null, JSONValue* returnValue
|
|||
else goto badType;
|
||||
+/
|
||||
goto badType; // FIXME
|
||||
break;
|
||||
case "json":
|
||||
assert(returnValue !is null);
|
||||
*returnValue = toJsonValue!(typeof(ret), R)(ret, formatJsonToStringAs, api);
|
||||
|
|
Loading…
Reference in New Issue