mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-06-10 21:02:24 +00:00
Initialize variable before use (#2302)
clang-analyzer found a path where this could be used without initialization.
This commit is contained in:
parent
a74034a012
commit
4d5632912a
|
@ -1775,7 +1775,7 @@ int FdEntity::RowFlushStreamMultipart(PseudoFdInfo* pseudo_obj, const char* tpat
|
||||||
if(-1 == physical_fd || !pseudo_obj){
|
if(-1 == physical_fd || !pseudo_obj){
|
||||||
return -EBADF;
|
return -EBADF;
|
||||||
}
|
}
|
||||||
int result;
|
int result = 0;
|
||||||
|
|
||||||
if(pagelist.Size() <= S3fsCurl::GetMultipartSize()){
|
if(pagelist.Size() <= S3fsCurl::GetMultipartSize()){
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue
Block a user