summaryrefslogtreecommitdiff
path: root/hwpfilter
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-07-03 09:17:53 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-07-03 13:11:58 +0200
commite7118d205d474a3cac747238671b6fa34963eec8 (patch)
treede9b7b6884e4c7b17d8280eb4c297adeb5e2de34 /hwpfilter
parent2617def8d1430e093f6a482a72727b2965a8a8a6 (diff)
HStream::closeInput does nothing
Change-Id: I0d57e227be45bb2c098969ab24eedab30514313f
Diffstat (limited to 'hwpfilter')
-rw-r--r--hwpfilter/source/hiodev.cxx4
-rw-r--r--hwpfilter/source/hstream.cxx5
-rw-r--r--hwpfilter/source/hstream.h5
3 files changed, 2 insertions, 12 deletions
diff --git a/hwpfilter/source/hiodev.cxx b/hwpfilter/source/hiodev.cxx
index 9e92219c62ff..ec25343c87a7 100644
--- a/hwpfilter/source/hiodev.cxx
+++ b/hwpfilter/source/hiodev.cxx
@@ -146,9 +146,7 @@ void HStreamIODev::close(void)
/* 플러시한 후 닫는다. */
this->flush();
if (_gzfp)
- gz_close(_gzfp); /* gz_close() calls stream_closeInput() */
- else
- _stream->closeInput();
+ gz_close(_gzfp);
_gzfp = NULL;
}
diff --git a/hwpfilter/source/hstream.cxx b/hwpfilter/source/hstream.cxx
index 5cd93542e844..e3c1b4244ee1 100644
--- a/hwpfilter/source/hstream.cxx
+++ b/hwpfilter/source/hstream.cxx
@@ -66,9 +66,4 @@ int HStream::available() const
return size - pos;
}
-
-void HStream::closeInput()
-{
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/hwpfilter/source/hstream.h b/hwpfilter/source/hstream.h
index 9535ced29b11..426d39650939 100644
--- a/hwpfilter/source/hstream.h
+++ b/hwpfilter/source/hstream.h
@@ -46,10 +46,7 @@ class HStream
* @returns Size of remained stream
*/
int available() const;
-/**
- * remove the stream from this object.
- */
- void closeInput();
+
private:
int size;
byte *seq;