Skip to content

Commit 806c4be

Browse files
authored
Merge pull request #86 from libxengine/autofix/warning/alert-82
[Autofix][warning] Alert #82: Comparison result is always the same
2 parents d663c76 + 5b375f6 commit 806c4be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎XEngine_Source/XEngine_StorageApp/StorageApp_Download.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ bool XEngine_Task_HttpDownload(LPCXSTR lpszClientAddr, LPCXSTR lpszMsgBuffer, in
260260
Cryption_Api_Digest(tszFileDir, tszHashKey, &nHashLen, true, st_ServiceCfg.st_XStorage.nHashMode);
261261
BaseLib_String_StrToHex((char*)tszHashKey, nHashLen, tszHashStr);
262262
BaseLib_String_GetFileAndPath(tszFileDir, NULL, NULL, NULL, st_HDRParam.tszMimeType);
263-
int nEffectiveLimit = nLimit > 0 ? nLimit : 0;
263+
int nEffectiveLimit = 0;
264264
xhLimit = NULL;
265265
if (nEffectiveLimit > 0)
266266
{

0 commit comments

Comments
 (0)