X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Fmemory-stream.cc;h=4ea43c214969a1462cab85a834224a644333292a;hb=cd211b6d1600b961f9bb9dc28b2d9c78d81cdb40;hp=863f4bd4def2de6fb785178de84d495ed70e9937;hpb=474c8729dc274a30558102a015a01fa5882673db;p=lilypond.git diff --git a/flower/memory-stream.cc b/flower/memory-stream.cc index 863f4bd4de..4ea43c2149 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--2010 Han-Wen Nienhuys - (c) 2005--2007 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; }