[llvm-commits] CVS: llvm/lib/Bytecode/Writer/Writer.cpp
Reid Spencer
reid at x10sys.com
Thu Nov 2 12:27:01 PST 2006
Changes in directory llvm/lib/Bytecode/Writer:
Writer.cpp updated: 1.126 -> 1.127
---
Log message:
For PR786: http://llvm.org/PR786 :
Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting
fall out by removing unused variables. Remaining warnings have to do with
unused functions (I didn't want to delete code without review) and unused
variables in generated code. Maintainers should clean up the remaining
issues when they see them. All changes pass DejaGnu tests and Olden.
---
Diffs of the changes: (+1 -1)
Writer.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Bytecode/Writer/Writer.cpp
diff -u llvm/lib/Bytecode/Writer/Writer.cpp:1.126 llvm/lib/Bytecode/Writer/Writer.cpp:1.127
--- llvm/lib/Bytecode/Writer/Writer.cpp:1.126 Thu Oct 26 01:15:43 2006
+++ llvm/lib/Bytecode/Writer/Writer.cpp Thu Nov 2 14:25:49 2006
@@ -1273,7 +1273,7 @@
Out.write(compressed_magic,4);
// Compress everything after the magic number (which we altered)
- uint64_t zipSize = Compressor::compressToStream(
+ Compressor::compressToStream(
(char*)(FirstByte+4), // Skip the magic number
Buffer.size()-4, // Skip the magic number
Out // Where to write compressed data
More information about the llvm-commits
mailing list