mirror of
https://github.com/transmission/transmission
synced 2024-12-23 00:04:06 +00:00
fixup: silence "empty expression statement has no effect" warning (#4074)
This commit is contained in:
parent
49a3813a23
commit
64b5fde8b2
5 changed files with 9 additions and 9 deletions
|
@ -1188,11 +1188,11 @@
|
|||
C8B27B9028153F3100A22B5D /* transmission-edit */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = "transmission-edit"; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
C8B27BA128153F3400A22B5D /* transmission-show */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = "transmission-show"; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
CAB35C62252F6F5E00552A55 /* mime-types.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "mime-types.h"; sourceTree = "<group>"; };
|
||||
CCEBA596277340F6DF9F4481 /* session-alt-speeds.cc */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = session-alt-speeds.cc; sourceTree = "<group>"; };
|
||||
CCEBA596277340F6DF9F4483 /* session-alt-speeds.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = session-alt-speeds.h; sourceTree = "<group>"; };
|
||||
D5C306568A7346FFFB8EFAD1 /* session-settings.cc */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = session-settings.cc; sourceTree = "<group>"; };
|
||||
D5C306568A7346FFFB8EFAD3 /* session-settings.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = session-settings.h; sourceTree = "<group>"; };
|
||||
D9057D68C13B75636539B681 /* variant-converters.cc */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = variant-converters.cc; sourceTree = "<group>"; };
|
||||
CCEBA596277340F6DF9F4481 /* session-alt-speeds.cc */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = "session-alt-speeds.cc"; sourceTree = "<group>"; };
|
||||
CCEBA596277340F6DF9F4483 /* session-alt-speeds.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "session-alt-speeds.h"; sourceTree = "<group>"; };
|
||||
D5C306568A7346FFFB8EFAD1 /* session-settings.cc */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = "session-settings.cc"; sourceTree = "<group>"; };
|
||||
D5C306568A7346FFFB8EFAD3 /* session-settings.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "session-settings.h"; sourceTree = "<group>"; };
|
||||
D9057D68C13B75636539B681 /* variant-converters.cc */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = "variant-converters.cc"; sourceTree = "<group>"; };
|
||||
E138A9750C04D88F00C5426C /* ProgressGradients.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ProgressGradients.h; sourceTree = "<group>"; };
|
||||
E138A9760C04D88F00C5426C /* ProgressGradients.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = ProgressGradients.mm; sourceTree = "<group>"; };
|
||||
E23B55A5FC3B557F7746D511 /* interned-string.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "interned-string.h"; sourceTree = "<group>"; };
|
||||
|
|
|
@ -95,7 +95,7 @@ int tr_address_compare(tr_address const* a, tr_address const* b) noexcept
|
|||
{
|
||||
return tr_tos_t(value);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
if (auto value = tr_parseNum<int>(needle); value)
|
||||
{
|
||||
|
|
|
@ -899,7 +899,7 @@ void tr_rpc_server::load(tr_variant* src)
|
|||
this->field = *val; \
|
||||
} \
|
||||
}
|
||||
RPC_SETTINGS_FIELDS(V);
|
||||
RPC_SETTINGS_FIELDS(V)
|
||||
#undef V
|
||||
|
||||
if (!tr_strvEndsWith(url_, '/'))
|
||||
|
|
|
@ -24,7 +24,7 @@ void tr_session_alt_speeds::load(tr_variant* src)
|
|||
this->field = *val; \
|
||||
} \
|
||||
}
|
||||
ALT_SPEEDS_FIELDS(V);
|
||||
ALT_SPEEDS_FIELDS(V)
|
||||
#undef V
|
||||
|
||||
updateScheduler();
|
||||
|
|
|
@ -20,7 +20,7 @@ void tr_session_settings::load(tr_variant* src)
|
|||
this->field = *val; \
|
||||
} \
|
||||
}
|
||||
SESSION_SETTINGS_FIELDS(V);
|
||||
SESSION_SETTINGS_FIELDS(V)
|
||||
#undef V
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue