Fix warnings
FossilOrigin-Name: 08a585424af83bb8327987ff98917d30525ce0fd43536f413933df109b173def
This commit is contained in:
parent
a1e70ba0fd
commit
0e4fea0c3e
2 changed files with 3 additions and 2 deletions
|
@ -420,7 +420,7 @@ validateHomeserver(OFIRI *homeserver)
|
|||
|
||||
- (void)sendMessage: (OFString *)message
|
||||
roomID: (OFString *)roomID
|
||||
block: (MTXClientResponseBlock)block;
|
||||
block: (MTXClientResponseBlock)block
|
||||
{
|
||||
void *pool = objc_autoreleasePoolPush();
|
||||
OFString *path = [OFString stringWithFormat:
|
||||
|
|
|
@ -37,7 +37,8 @@ OF_APPLICATION_DELEGATE(Tests)
|
|||
|
||||
- (void)applicationDidFinishLaunching: (OFNotification *)notification
|
||||
{
|
||||
__auto_type environment = OFApplication.environment;
|
||||
OFDictionary<OFString *, OFString *> *environment =
|
||||
OFApplication.environment;
|
||||
if (environment[@"OBJMATRIX_USER"] == nil ||
|
||||
environment[@"OBJMATRIX_PASS"] == nil ||
|
||||
environment[@"OBJMATRIX_HS"] == nil) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue