Initialize variable before use (#2302)

clang-analyzer found a path where this could be used without
initialization.
This commit is contained in:
Andrew Gaul 2023-09-06 23:32:49 +09:00 committed by GitHub
parent a74034a012
commit 4d5632912a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1775,7 +1775,7 @@ int FdEntity::RowFlushStreamMultipart(PseudoFdInfo* pseudo_obj, const char* tpat
if(-1 == physical_fd || !pseudo_obj){
return -EBADF;
}
int result;
int result = 0;
if(pagelist.Size() <= S3fsCurl::GetMultipartSize()){
//