Mercurial > octave-nkf
changeset 8802:061780d8da1e
c-file-ptr-stream.cc: avoid unused parameter warnings
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 18 Feb 2009 11:24:14 -0500 |
parents | f3ff420fccf7 |
children | 35ea4f816bc9 |
files | src/ChangeLog src/c-file-ptr-stream.cc |
diffstat | 2 files changed, 13 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Wed Feb 18 11:20:31 2009 -0500 +++ b/src/ChangeLog Wed Feb 18 11:24:14 2009 -0500 @@ -1,3 +1,9 @@ +2009-02-18 John W. Eaton <jwe@octave.org> + + * c-file-ptr-stream.cc (c_file_ptr_buf::seekoff, + c_file_ptr_buf::seepos, c_zfile_ptr_buf::seekoff, + c_zfile_ptr_buf::seepos): Avoid unused paramter warnings. + 2009-02-18 Jaroslav Hajek <highegg@gmail.com> * data.cc (Fresize): Allow arbitrary number of parameters. Improve
--- a/src/c-file-ptr-stream.cc Wed Feb 18 11:20:31 2009 -0500 +++ b/src/c-file-ptr-stream.cc Wed Feb 18 11:24:14 2009 -0500 @@ -126,7 +126,8 @@ } std::streampos -c_file_ptr_buf::seekoff (std::streamoff offset, std::ios::seekdir dir, +c_file_ptr_buf::seekoff (std::streamoff /* offset */, + std::ios::seekdir /* dir */, std::ios::openmode) { // FIXME @@ -144,7 +145,7 @@ } std::streampos -c_file_ptr_buf::seekpos (std::streampos offset, std::ios::openmode) +c_file_ptr_buf::seekpos (std::streampos /* offset */, std::ios::openmode) { // FIXME #if 0 @@ -270,8 +271,9 @@ } std::streampos -c_zfile_ptr_buf::seekoff (std::streamoff offset, std::ios::seekdir dir, - std::ios::openmode) +c_zfile_ptr_buf::seekoff (std::streamoff /* offset */, + std::ios::seekdir /* dir */, + std::ios::openmode) { // FIXME #if 0 @@ -288,7 +290,7 @@ } std::streampos -c_zfile_ptr_buf::seekpos (std::streampos offset, std::ios::openmode) +c_zfile_ptr_buf::seekpos (std::streampos /* offset */, std::ios::openmode) { // FIXME #if 0