Index: fpdfsdk/fpdfview.cpp |
diff --git a/fpdfsdk/fpdfview.cpp b/fpdfsdk/fpdfview.cpp |
index 1c9024d8369a464e3153ccf8d3043fb804b417a5..589a6de6442fde6bb7bb99ca723b10a1f2ab521d 100644 |
--- a/fpdfsdk/fpdfview.cpp |
+++ b/fpdfsdk/fpdfview.cpp |
@@ -282,7 +282,7 @@ int GetLastError() { |
#endif // _WIN32 |
void ProcessParseError(CPDF_Parser::Error err) { |
- FX_DWORD err_code; |
+ FX_DWORD err_code = FPDF_ERR_SUCCESS; |
// Translate FPDFAPI error code to FPDFVIEW error code |
switch (err) { |
case CPDF_Parser::SUCCESS: |