diff options
author | Mike Buland <eichlan@xagasoft.com> | 2010-05-26 14:35:22 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2010-05-26 14:35:22 +0000 |
commit | 1d02c374c8877d430f4ab35a790fc02f02974704 (patch) | |
tree | 8d03d2226cc9322262308eba5eb0754d58a71a98 /src/newline.cpp | |
parent | b1522d279d22725a731cb8db93ec2d077028374c (diff) | |
download | libbu++-1d02c374c8877d430f4ab35a790fc02f02974704.tar.gz libbu++-1d02c374c8877d430f4ab35a790fc02f02974704.tar.bz2 libbu++-1d02c374c8877d430f4ab35a790fc02f02974704.tar.xz libbu++-1d02c374c8877d430f4ab35a790fc02f02974704.zip |
Fixed most of the compilation warnings, and a valgrind warning in the fstring's
remove function. memcpy can't do overlapping memory, changed it to use memmove.
Diffstat (limited to 'src/newline.cpp')
-rw-r--r-- | src/newline.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/newline.cpp b/src/newline.cpp index d22ce85..8c5d3d5 100644 --- a/src/newline.cpp +++ b/src/newline.cpp | |||
@@ -61,7 +61,8 @@ size_t Bu::NewLine::read( void *pBufV, size_t iAmnt ) | |||
61 | return iTotal; | 61 | return iTotal; |
62 | } | 62 | } |
63 | 63 | ||
64 | size_t Bu::NewLine::write( const void *pBuf, size_t iAmnt ) | 64 | size_t Bu::NewLine::write( const void *, size_t ) |
65 | { | 65 | { |
66 | return 0; | ||
66 | } | 67 | } |
67 | 68 | ||