summaryrefslogtreecommitdiff
path: root/fpdfsdk
diff options
context:
space:
mode:
authorWei Li <weili@chromium.org>2016-03-22 19:19:01 -0700
committerWei Li <weili@chromium.org>2016-03-22 19:19:01 -0700
commite91afbabec3b7c891b464efd221748edaba3c2bc (patch)
treea1f0cbd94320b43b1f0e949ee91b15367156a0a2 /fpdfsdk
parent0ac525005e15a6a67b04e8ab1553f4a1e18b0da7 (diff)
downloadpdfium-e91afbabec3b7c891b464efd221748edaba3c2bc.tar.xz
Re-enable MSVC warning 4702
BUG=pdfium:29 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1821423002 .
Diffstat (limited to 'fpdfsdk')
-rw-r--r--fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp2
-rw-r--r--fpdfsdk/fpdfxfa/fpdfxfa_page.cpp2
-rw-r--r--fpdfsdk/javascript/JS_EventHandler.cpp4
3 files changed, 0 insertions, 8 deletions
diff --git a/fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp b/fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp
index e530797539..cee81daa62 100644
--- a/fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp
+++ b/fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp
@@ -144,8 +144,6 @@ int CPDFXFA_Document::GetPageCount() {
default:
return 0;
}
-
- return 0;
}
CPDFXFA_Page* CPDFXFA_Document::GetPage(int page_index) {
diff --git a/fpdfsdk/fpdfxfa/fpdfxfa_page.cpp b/fpdfsdk/fpdfxfa/fpdfxfa_page.cpp
index 89638c0e82..8c977635e7 100644
--- a/fpdfsdk/fpdfxfa/fpdfxfa_page.cpp
+++ b/fpdfsdk/fpdfxfa/fpdfxfa_page.cpp
@@ -102,8 +102,6 @@ FX_BOOL CPDFXFA_Page::LoadPage() {
default:
return FALSE;
}
-
- return FALSE;
}
FX_BOOL CPDFXFA_Page::LoadPDFPage(CPDF_Dictionary* pageDict) {
diff --git a/fpdfsdk/javascript/JS_EventHandler.cpp b/fpdfsdk/javascript/JS_EventHandler.cpp
index 697cfeb208..0dffa7de54 100644
--- a/fpdfsdk/javascript/JS_EventHandler.cpp
+++ b/fpdfsdk/javascript/JS_EventHandler.cpp
@@ -514,8 +514,6 @@ const FX_WCHAR* CJS_EventHandler::Name() {
default:
return L"";
}
-
- return L"";
}
const FX_WCHAR* CJS_EventHandler::Type() {
@@ -571,8 +569,6 @@ const FX_WCHAR* CJS_EventHandler::Type() {
default:
return L"";
}
-
- return L"";
}
FX_BOOL& CJS_EventHandler::Rc() {