Silence some unused parameter warnings.

This commit is contained in:
Josh Elsasser 2007-03-05 04:01:05 +00:00
parent caebe8b862
commit c4b9102f69
4 changed files with 5 additions and 5 deletions

View File

@ -18,7 +18,7 @@
#include <Resources.h>
#include <Roster.h>
int main(int argc, char** argv) {
int main(int, char**) {
TRApplication *app = new TRApplication();
if (app->InitCheck() == B_OK) {
app->Run();
@ -310,7 +310,7 @@ int32 TRApplication::Copy(void *data) {
/**
* Filters the FilePanel for torrent files and directories.
*/
bool TRFilter::Filter(const entry_ref *ref, BNode *node, struct stat *st, const char *mimetype) {
bool TRFilter::Filter(const entry_ref *ref, BNode *node, struct stat *, const char *mimetype) {
return (node->IsDirectory() ||
(strcmp(mimetype, "application/x-bittorrent") == 0) ||
(strstr(ref->name, ".torrent") != NULL));

View File

@ -75,7 +75,7 @@ TRInfoWindow::~TRInfoWindow() {
}
void TRInfoWindow::FrameResized(float width, float height) {
void TRInfoWindow::FrameResized(float, float) {
}
void TRInfoWindow::StringForFileSize(uint64_t size, BString *str) {

View File

@ -96,7 +96,7 @@ bool TRTransfer::IsRunning() {
/**
* Renders (Draws) the current status into the BListView.
*/
void TRTransfer::DrawItem(BView *owner, BRect frame, bool complete) {
void TRTransfer::DrawItem(BView *owner, BRect frame, bool) {
rgb_color col;
col.red = 255;
col.green = 255;

View File

@ -383,7 +383,7 @@ bool TRWindow::QuitRequested() {
return quit;
}
void TRWindow::FrameResized(float width, float height) {
void TRWindow::FrameResized(float, float) {
transfers->Invalidate();
}