summaryrefslogtreecommitdiff
path: root/core/fxcodec/lgif/cgifcontext.h
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2017-09-27 12:33:36 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-09-27 17:50:07 +0000
commit290799f8a54e2b1531b6930ed988c5ddc6a2eb42 (patch)
treefd0c347be19a8a4417466bc5784fac65a6bd9ee3 /core/fxcodec/lgif/cgifcontext.h
parent655b347426657d450ee7723170cdadc93c3aafbe (diff)
downloadpdfium-290799f8a54e2b1531b6930ed988c5ddc6a2eb42.tar.xz
Remove error string from CGifContext
This string is set, but never used. BUG=pdfium:907 Change-Id: I57555d0dd3670b245554ff2d7163d1d04bcdb7e8 Reviewed-on: https://pdfium-review.googlesource.com/14930 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'core/fxcodec/lgif/cgifcontext.h')
-rw-r--r--core/fxcodec/lgif/cgifcontext.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/fxcodec/lgif/cgifcontext.h b/core/fxcodec/lgif/cgifcontext.h
index c0a8a434bc..2573a2e470 100644
--- a/core/fxcodec/lgif/cgifcontext.h
+++ b/core/fxcodec/lgif/cgifcontext.h
@@ -22,7 +22,6 @@ class CGifContext : public CCodec_GifModule::Context {
CCodec_GifModule::Delegate* pDelegate);
~CGifContext() override;
- void AddError(const char* err_msg);
void RecordCurrentPosition(uint32_t* cur_pos_ptr);
void ReadScanline(int32_t row_num, uint8_t* row_buf);
bool GetRecordPosition(uint32_t cur_pos,
@@ -65,7 +64,6 @@ class CGifContext : public CCodec_GifModule::Context {
uint8_t global_sort_flag;
uint8_t global_color_resolution;
uint8_t img_pass_num;
- char m_szLastError[GIF_MAX_ERROR_SIZE];
private:
uint8_t* ReadData(uint8_t** des_buf_pp, uint32_t data_size);