Fix unused parameter compiler warning

Removed unused parameter.  Prior to this change the compiler would
complain with the following message:

error: unused parameter ‘cylinder_size’
This commit is contained in:
Curtis Gedak 2011-07-16 09:49:46 -06:00
parent 026d0bd34b
commit 55b71a77bc
3 changed files with 1 additions and 4 deletions

View File

@ -1,5 +1,5 @@
/* Copyright (C) 2004 Bart
* Copyright (C) 2008, 2009, 2010 Curtis Gedak
* Copyright (C) 2008, 2009, 2010, 2011 Curtis Gedak
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -35,7 +35,6 @@ public:
unsigned short new_count,
const std::vector<FS> & FILESYSTEMS,
bool only_unformatted,
Sector cylinder_size,
Glib::ustring disktype );
Partition Get_New_Partition( Byte_Value sector_size ) ;//overridden function

View File

@ -37,7 +37,6 @@ void Dialog_Partition_New::Set_Data( const Partition & partition,
unsigned short new_count,
const std::vector<FS> & FILESYSTEMS,
bool only_unformatted,
Sector cylinder_size,
Glib::ustring disktype )
{
this ->new_count = new_count;

View File

@ -1569,7 +1569,6 @@ void Win_GParted::activate_new()
new_count,
gparted_core .get_filesystems(),
devices[ current_device ] .readonly,
devices[ current_device ] .cylsize,
devices[ current_device ] .disktype ) ;
dialog .set_transient_for( *this );