diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-05-25 19:54:02 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-05-25 19:54:02 (GMT) |
commit | 1e459a94523e5cc71c21ce1a31645d174c1fabe3 (patch) | |
tree | 8b237e01414bc4952769caf6bb3bd264646a7e0a /SwifTools/Idle | |
parent | 381f054a2df50028f6fb59e0173414a415134b9c (diff) | |
download | swift-1e459a94523e5cc71c21ce1a31645d174c1fabe3.zip swift-1e459a94523e5cc71c21ce1a31645d174c1fabe3.tar.bz2 |
Added 'assertions' scons flag.
Diffstat (limited to 'SwifTools/Idle')
-rw-r--r-- | SwifTools/Idle/MacOSXIdleQuerier.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/SwifTools/Idle/MacOSXIdleQuerier.cpp b/SwifTools/Idle/MacOSXIdleQuerier.cpp index 64e010b..b634fcb 100644 --- a/SwifTools/Idle/MacOSXIdleQuerier.cpp +++ b/SwifTools/Idle/MacOSXIdleQuerier.cpp @@ -26,6 +26,7 @@ int MacOSXIdleQuerier::getIdleTimeSeconds() { uint64_t idle = 0; bool result = CFNumberGetValue((CFNumberRef)property, kCFNumberSInt64Type, &idle); assert(result); + (void) result; CFRelease(property); return idle / 1000000000; } |