X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Fmemory-stream.cc;h=a560a926de96104971934897fe3ce8e5c2c16d82;hb=e90f0536f9be39ada0bef0aeb0d275dec3b2fb5b;hp=d6bedf615e8ec9df021d712670188b2ea242d01f;hpb=75eebcb49e52d296b1da3e1074e0825d2c780db4;p=lilypond.git diff --git a/flower/memory-stream.cc b/flower/memory-stream.cc index d6bedf615e..a560a926de 100644 --- a/flower/memory-stream.cc +++ b/flower/memory-stream.cc @@ -1,9 +1,20 @@ /* - memory-stream.cc -- implement Memory_out_stream + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 2005--2011 Han-Wen Nienhuys - (c) 2005--2006 Han-Wen Nienhuys + LilyPond is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + LilyPond is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with LilyPond. If not, see . */ #include @@ -102,23 +113,19 @@ Memory_out_stream::writer (void *cookie, } ssize_t -Memory_out_stream::reader (void *cookie, - char *buffer, - size_t size) +Memory_out_stream::reader (void * /* cookie */, + char * /* buffer */, + size_t /* size */) { - (void) cookie; - (void) buffer; - (void) size; - assert (false); return 0; } int -Memory_out_stream::seeker (void *, off64_t *, int whence) +Memory_out_stream::seeker (void *, + off64_t *, + int) { - (void) whence; - assert (false); return 0; }