diff options
author | rowanbeentje <rowan@beent.je> | 2011-03-04 00:38:30 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2011-03-04 00:38:30 +0000 |
commit | 994756398decf77738afb3c599d4cb9238c77cee (patch) | |
tree | 6fef724448931d438e553d98096a8f20cbf6751b /Source/SPAppController.m | |
parent | 6f983024a66ddb594eac5e4e808a8c3c51f6b6ff (diff) | |
download | sequelpro-994756398decf77738afb3c599d4cb9238c77cee.tar.gz sequelpro-994756398decf77738afb3c599d4cb9238c77cee.tar.bz2 sequelpro-994756398decf77738afb3c599d4cb9238c77cee.zip |
- Fix more compiler warnings
Diffstat (limited to 'Source/SPAppController.m')
-rw-r--r-- | Source/SPAppController.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPAppController.m b/Source/SPAppController.m index 2f77b533..b0daf035 100644 --- a/Source/SPAppController.m +++ b/Source/SPAppController.m @@ -695,7 +695,7 @@ YY_BUFFER_STATE yy_scan_string (const char *); NSString *statusFileName = [NSString stringWithFormat:@"%@%@", SPURLSchemeQueryResultStatusPathHeader, anUUID]; NSError *inError = nil; - NSString *query = [NSString stringWithContentsOfFile:queryFileName encoding:NSUTF8StringEncoding error:inError]; + NSString *query = [NSString stringWithContentsOfFile:queryFileName encoding:NSUTF8StringEncoding error:&inError]; NSString *result = @""; NSString *status = @"0"; |