Skip to content

Commit

Permalink
Fix some minor compiler warnings.
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Madison <[email protected]>
  • Loading branch information
madisongh committed May 3, 2021
1 parent 4379bab commit bc9c67d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tegra-bootloader-update.c
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ update_bct (int bootfd, void *curbct, void *newbct, struct update_entry_s *ent)
bctslotsize = page_size * ((ent->length + (page_size-1)) / page_size);

for (i = 0; i < 3; i++) {
off_t offset;
off_t offset = 0;
switch (i) {
case 0:
offset = bctslotsize;
Expand Down

0 comments on commit bc9c67d

Please sign in to comment.