Skip to content

Commit

Permalink
remove exit() from lib. fix stlink-org#634
Browse files Browse the repository at this point in the history
  • Loading branch information
slyshykO committed Mar 28, 2018
1 parent 334fde7 commit 572ae16
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/logging.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ int ugly_log(int level, const char *tag, const char *format, ...) {
case UFATAL:
fprintf(stderr, "FATAL %s: ", tag);
vfprintf(stderr, format, args);
exit(EXIT_FAILURE);
// NEVER GETS HERE!!!
break;
default:
fprintf(stderr, "%d %s: ", level, tag);
Expand Down

0 comments on commit 572ae16

Please sign in to comment.