修复编译警告

This commit is contained in:
xiongziliang 2021-01-02 21:58:14 +08:00
parent 9715787060
commit d37607026f

View File

@ -568,7 +568,7 @@ void HttpResponseInvokerImp::responseFile(const StrCaseMap &requestHeader,
int64_t iRangeEnd = 0;
int64_t fileSize = HttpMultiFormBody::fileSize(fp.get());
int code = NULL;
int code;
if (strRange.size() == 0) {
//全部下载
code = 200;