diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-11-03 21:50:49 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-11-03 21:50:49 (GMT) |
commit | 5f41fe03ca0abfe43e386426ce942414d8602706 (patch) | |
tree | deed3c4a4026f88db0bc45c25725d85d5439639d /Source/CPack/cmCPackArchiveGenerator.cxx | |
parent | 85912a37772b9ceea1ef3b22b0ed9d1c94e9f5b4 (diff) | |
download | CMake-5f41fe03ca0abfe43e386426ce942414d8602706.zip CMake-5f41fe03ca0abfe43e386426ce942414d8602706.tar.gz CMake-5f41fe03ca0abfe43e386426ce942414d8602706.tar.bz2 |
Fix warnings for unused variables
Diffstat (limited to 'Source/CPack/cmCPackArchiveGenerator.cxx')
-rw-r--r-- | Source/CPack/cmCPackArchiveGenerator.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/CPack/cmCPackArchiveGenerator.cxx b/Source/CPack/cmCPackArchiveGenerator.cxx index e6a83b1..9d8edf8 100644 --- a/Source/CPack/cmCPackArchiveGenerator.cxx +++ b/Source/CPack/cmCPackArchiveGenerator.cxx @@ -115,7 +115,7 @@ struct StreamData extern "C" { -int OpenArchive(struct archive *a, void *client_data) +int OpenArchive(struct archive *, void *client_data) { struct StreamData *data = (StreamData*)client_data; if(data->GeneratedFileStream && @@ -130,7 +130,7 @@ int OpenArchive(struct archive *a, void *client_data) return (ARCHIVE_FATAL); } -__LA_SSIZE_T WriteArchive(struct archive *a, +__LA_SSIZE_T WriteArchive(struct archive *, void *client_data, const void *buff, size_t n) @@ -146,7 +146,7 @@ __LA_SSIZE_T WriteArchive(struct archive *a, } -int CloseArchive(struct archive *a, void *client_data) +int CloseArchive(struct archive *, void *client_data) { struct StreamData *data = (StreamData*)client_data; if(data->GeneratedFileStream->Close()) |