Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
T
titan
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangzongwu
titan
Commits
b9915d9b
Commit
b9915d9b
authored
Oct 08, 2019
by
Connor
Committed by
yiwu-arbug
Oct 08, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
check nullptr (#91)
tiny fix Signed-off-by:
Connor1996
<
zbk602423539@gmail.com
>
parent
280b59d6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
blob_gc_picker.cc
src/blob_gc_picker.cc
+2
-2
No files found.
src/blob_gc_picker.cc
View file @
b9915d9b
...
...
@@ -84,9 +84,9 @@ std::unique_ptr<BlobGC> BasicBlobGCPicker::PickBlobGC(
}
bool
BasicBlobGCPicker
::
CheckBlobFile
(
BlobFileMeta
*
blob_file
)
const
{
assert
(
blob_file
!=
nullptr
&&
assert
(
blob_file
==
nullptr
||
blob_file
->
file_state
()
!=
BlobFileMeta
::
FileState
::
kInit
);
if
(
blob_file
!=
nullptr
&&
if
(
blob_file
==
nullptr
||
blob_file
->
file_state
()
!=
BlobFileMeta
::
FileState
::
kNormal
)
return
false
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment