bdf2sfd

BDF to SFD converter, allowing to vectorize bitmap fonts
Log | Files | Refs | README | LICENSE

commit a4fd7ebf9acb73a57f4d8c22e1d9131a449b214f
parent 37a0592a70fe666fbedd2742a62389832ff1123a
Author: Frederic Cambus <fred@statdns.com>
Date:   Sun, 24 May 2020 10:45:58 +0200

Get rid of the runtime variable, it is only used once.

Diffstat:
Msrc/bdf2sfd.c | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/bdf2sfd.c b/src/bdf2sfd.c @@ -47,7 +47,6 @@ int8_t getoptFlag; char *intputFile; uint64_t glyphes; -double runtime; void displayUsage() @@ -292,11 +291,10 @@ main(int argc, char *argv[]) clock_gettime(CLOCK_MONOTONIC, &end); timespecsub(&end, &begin, &elapsed); - runtime = elapsed.tv_sec + elapsed.tv_nsec / 1E9; /* Printing results */ fprintf(stderr, "Processed %" PRIu64 " glyphes in %f seconds.\n", - glyphes, runtime); + glyphes, elapsed.tv_sec + elapsed.tv_nsec / 1E9); /* Clean up */ fclose(bdfFile);