Skip to content

Commit

Permalink
fix uninitialzied variable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kjk committed Mar 2, 2023
1 parent b9a06a3 commit 1ee6be2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Annotation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ const char* DefaultAppearanceTextFont(Annotation* annot) {
EngineMupdf* e = annot->engine;
auto ctx = e->ctx;
ScopedCritSec cs(e->ctxAccess);
const char* fontName;
const char* fontName = nullptr;
float sizeF{0.0};
int n = 0;
float textColor[4]{};
Expand Down

0 comments on commit 1ee6be2

Please sign in to comment.