Skip to content

Commit

Permalink
Fix nasa#266, Explicit default case in CF_WriteHistoryEntryToFile for…
Browse files Browse the repository at this point in the history
… coverage
  • Loading branch information
skliper committed Jun 17, 2022
1 parent 14ec982 commit 25ccae1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fsw/src/cf_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ int CF_WriteHistoryEntryToFile(osal_id_t fd, const CF_History_t *h)
snprintf(linebuf, sizeof(linebuf), "SRC: %s\t", h->fnames.src_filename);
break;
case 2:
default:
snprintf(linebuf, sizeof(linebuf), "DST: %s\n", h->fnames.dst_filename);
break;
}
Expand Down

0 comments on commit 25ccae1

Please sign in to comment.