mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 04:18:39 +00:00
remove some redundant warnings
This commit is contained in:
@@ -535,7 +535,6 @@
|
||||
- (void) setQuickLimit: (int) limit type: (NSString *) type
|
||||
{
|
||||
//if interface is loaded, perform change as if user performed it
|
||||
#warning better way?
|
||||
if (fToolbar)
|
||||
{
|
||||
NSButton * check;
|
||||
@@ -673,7 +672,6 @@
|
||||
- (void) setQuickRatioEnabled: (BOOL) enable
|
||||
{
|
||||
//if interface is loaded, perform change as if user performed it
|
||||
#warning better way?
|
||||
if (fToolbar)
|
||||
{
|
||||
int state = enable ? NSOnState : NSOffState;
|
||||
@@ -692,7 +690,6 @@
|
||||
- (void) setQuickRatio: (float) ratioLimit
|
||||
{
|
||||
//if interface is loaded, perform change as if user performed it
|
||||
#warning better way?
|
||||
if (fToolbar)
|
||||
{
|
||||
[fRatioField setFloatValue: ratioLimit];
|
||||
|
||||
Reference in New Issue
Block a user