Skip to content

Commit

Permalink
main.c: initialize variables
Browse files Browse the repository at this point in the history
  • Loading branch information
olegart committed Sep 29, 2017
1 parent c645fa3 commit 8fee0dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ static uint32_t flash_page_to_addr(int page)
int main(int argc, char* argv[]) {
struct port_interface *port = NULL;
int ret = 1;
stm32_err_t s_err;
parser_err_t perr;
stm32_err_t s_err = 0;
parser_err_t perr = 0;
FILE *diag = stdout;

fprintf(diag, "stm32flash " VERSION "\n\n");
Expand Down

0 comments on commit 8fee0dc

Please sign in to comment.