Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exploit Code Block: Code error #38

Open
LavareX opened this issue Nov 13, 2016 · 0 comments
Open

Exploit Code Block: Code error #38

LavareX opened this issue Nov 13, 2016 · 0 comments

Comments

@LavareX
Copy link

LavareX commented Nov 13, 2016

clang version: Apple LLVM version 8.0.0 (clang-800.0.42.1)
Xcode version: 7.3.1

NSURL *url = ({
    NSString *urlString = [NSString stringWithFormat:@"%@/%@", baseURLString, endpoint];
    [NSURL URLWithString:urlString];
});

compiler error: initializing 'NSURL *__strong' with an expression of incompatible type 'void'

The value of the latest statement is not returned if enclosing in round bracket.

@LavareX LavareX changed the title [Exploit Code Block] Code error Exploit Code Block: Code error Nov 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant