Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Sleuthkit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IRT
Sleuthkit
Commits
888e74c1
Commit
888e74c1
authored
3 years ago
by
Joachim Metz
Browse files
Options
Downloads
Patches
Plain Diff
Replaced instances of string.size() with string.empty()
parent
e4c60a3b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tsk/pool/apfs_pool_compat.cpp
+1
-1
1 addition, 1 deletion
tsk/pool/apfs_pool_compat.cpp
tsk/pool/tsk_pool.hpp
+1
-1
1 addition, 1 deletion
tsk/pool/tsk_pool.hpp
with
2 additions
and
2 deletions
tsk/pool/apfs_pool_compat.cpp
+
1
−
1
View file @
888e74c1
...
@@ -185,7 +185,7 @@ uint8_t APFSPoolCompat::poolstat(FILE *hFile) const noexcept try {
...
@@ -185,7 +185,7 @@ uint8_t APFSPoolCompat::poolstat(FILE *hFile) const noexcept try {
vol
.
changed
()
%
1000000000
,
time_buf
));
vol
.
changed
()
%
1000000000
,
time_buf
));
const
auto
unmount_log
=
vol
.
unmount_log
();
const
auto
unmount_log
=
vol
.
unmount_log
();
if
(
unmount_log
.
size
()
!=
0
)
{
if
(
!
unmount_log
.
empty
()
)
{
tsk_fprintf
(
hFile
,
"|
\n
"
);
tsk_fprintf
(
hFile
,
"|
\n
"
);
tsk_fprintf
(
hFile
,
"| Unmount Logs
\n
"
);
tsk_fprintf
(
hFile
,
"| Unmount Logs
\n
"
);
tsk_fprintf
(
hFile
,
"| ------------
\n
"
);
tsk_fprintf
(
hFile
,
"| ------------
\n
"
);
...
...
This diff is collapsed.
Click to expand it.
tsk/pool/tsk_pool.hpp
+
1
−
1
View file @
888e74c1
...
@@ -44,7 +44,7 @@ class TSKPool {
...
@@ -44,7 +44,7 @@ class TSKPool {
inline
uint32_t
dev_block_size
()
const
noexcept
{
return
_dev_block_size
;
}
inline
uint32_t
dev_block_size
()
const
noexcept
{
return
_dev_block_size
;
}
inline
uint64_t
num_blocks
()
const
noexcept
{
return
_num_blocks
;
}
inline
uint64_t
num_blocks
()
const
noexcept
{
return
_num_blocks
;
}
inline
uint64_t
first_img_offset
()
const
noexcept
{
inline
uint64_t
first_img_offset
()
const
noexcept
{
if
(
_members
.
size
()
>=
1
)
{
if
(
!
_members
.
empty
()
)
{
return
_members
[
0
].
second
;
return
_members
[
0
].
second
;
}
}
return
0
;
return
0
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment