added warn_unused_result annotations where they seem reasonable

This commit is contained in:
John Rommel Estropia
2015-08-29 22:29:03 +09:00
parent 56ea14d53c
commit 22943d2c76
15 changed files with 91 additions and 0 deletions

View File

@@ -55,6 +55,7 @@ public final class DetachedDataTransaction: BaseDataTransaction {
- returns: a `DetachedDataTransaction` instance where creates, updates, and deletes can be made.
*/
@warn_unused_result
public func beginDetached() -> DetachedDataTransaction {
return DetachedDataTransaction(