Changeset: 83478b6eb0ed for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=83478b6eb0ed
Modified Files:
        common/stream/stream.c
Branch: Jul2017
Log Message:

Use more conventional way of indicating parameters aren't used.


diffs (24 lines):

diff --git a/common/stream/stream.c b/common/stream/stream.c
--- a/common/stream/stream.c
+++ b/common/stream/stream.c
@@ -5441,16 +5441,16 @@ getFileNo(stream *s)
 static ssize_t
 stream_blackhole_write(stream *s, const void *buf, size_t elmsize, size_t cnt)
 {
-       s = (stream *) s;
-       buf = (const void *) buf;
-       elmsize = (size_t) elmsize;
+       (void) s;
+       (void) buf;
+       (void) elmsize;
        return (ssize_t) cnt;
 }
 
 static void
 stream_blackhole_close(stream *s)
 {
-       s = (stream *) s;
+       (void) s;
        /* no resources to close */
 }
 
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to