[libunwind] r246528 - unwind: cleanup -Wunused-parameter
Saleem Abdulrasool via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 31 21:29:04 PDT 2015
Author: compnerd
Date: Mon Aug 31 23:29:03 2015
New Revision: 246528
URL: http://llvm.org/viewvc/llvm-project?rev=246528&view=rev
Log:
unwind: cleanup -Wunused-parameter
Cleanup a number of `-Wunused-parameter` warnings. NFC.
Modified:
libunwind/trunk/src/Registers.hpp
Modified: libunwind/trunk/src/Registers.hpp
URL: http://llvm.org/viewvc/llvm-project/libunwind/trunk/src/Registers.hpp?rev=246528&r1=246527&r2=246528&view=diff
==============================================================================
--- libunwind/trunk/src/Registers.hpp (original)
+++ libunwind/trunk/src/Registers.hpp Mon Aug 31 23:29:03 2015
@@ -1797,27 +1797,28 @@ inline void Registers_or1k::setRegister(
_LIBUNWIND_ABORT("unsupported or1k register");
}
-inline bool Registers_or1k::validFloatRegister(int regNum) const {
+inline bool Registers_or1k::validFloatRegister(int /* regNum */) const {
return false;
}
-inline double Registers_or1k::getFloatRegister(int regNum) const {
+inline double Registers_or1k::getFloatRegister(int /* regNum */) const {
_LIBUNWIND_ABORT("or1k float support not implemented");
}
-inline void Registers_or1k::setFloatRegister(int regNum, double value) {
+inline void Registers_or1k::setFloatRegister(int /* regNum */,
+ double /* value */) {
_LIBUNWIND_ABORT("or1k float support not implemented");
}
-inline bool Registers_or1k::validVectorRegister(int regNum) const {
+inline bool Registers_or1k::validVectorRegister(int /* regNum */) const {
return false;
}
-inline v128 Registers_or1k::getVectorRegister(int regNum) const {
+inline v128 Registers_or1k::getVectorRegister(int /* regNum */) const {
_LIBUNWIND_ABORT("or1k vector support not implemented");
}
-inline void Registers_or1k::setVectorRegister(int regNum, v128 value) {
+inline void Registers_or1k::setVectorRegister(int /* regNum */, v128 /* value */) {
_LIBUNWIND_ABORT("or1k vector support not implemented");
}
More information about the cfe-commits
mailing list