Skip to content

Commit

Permalink
clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
Gottox committed Aug 2, 2023
1 parent 9ec86f9 commit 3e77ca5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
9 changes: 5 additions & 4 deletions include/sqsh_archive.h
Original file line number Diff line number Diff line change
Expand Up @@ -381,11 +381,12 @@ struct SqshConfig {
/**
* @brief represents the addressable size of the source in bytes.
*
* Please note that this is not the size of the archive, but the size of the
* source. So that the maximal size of the archive is `source_size - archive_offset`.
* Please note that this is not the size of the archive, but the size of the
* source. So that the maximal size of the archive is `source_size -
* archive_offset`.
*
* This field is only used when the source_mapper is unable to determine the size
* of the source itself. This is the case for the following mappers:
* This field is only used when the source_mapper is unable to determine the
* size of the source itself. This is the case for the following mappers:
*
* - `sqsh_mapper_impl_static`
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/chrome/directory.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ sqsh_directory_list(struct SqshArchive *archive, const char *path, int *err) {

dir_list_data = (char **)sqsh__buffer_unwrap(&dir_list);

for(sqsh_index_t i = 0; i < elements; i++) {
for (sqsh_index_t i = 0; i < elements; i++) {
dir_list_data[i] += base_size + (uintptr_t)dir_list_data;
}

Expand Down
1 change: 0 additions & 1 deletion lib/mapper/map_manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ sqsh__map_manager_init(

rv = sqsh__lru_init(
&manager->lru, lru_size, &sqsh__lru_rc_map, &manager->maps);

out:
if (rv < 0) {
sqsh__map_manager_cleanup(manager);
Expand Down

0 comments on commit 3e77ca5

Please sign in to comment.