summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2012-04-15 21:14:12 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-04-17 18:37:16 (GMT)
commitab8d948710dae16449cbe25fe6f7c95bfa5cf773 (patch)
treebcdc34c00139ffc7c62ac3e92c701f3671fd02ce /SwifTools/Idle
parent7c683df1c9cde6ac8f1e4ffd04ab9a1b5a620348 (diff)
downloadswift-contrib-ab8d948710dae16449cbe25fe6f7c95bfa5cf773.zip
swift-contrib-ab8d948710dae16449cbe25fe6f7c95bfa5cf773.tar.bz2
Fixing some clang warnings.
License: This patch is BSD-licensed, see http://www.opensource.org/licenses/bsd-license.php
Diffstat (limited to 'SwifTools/Idle')
-rw-r--r--SwifTools/Idle/MacOSXIdleQuerier.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/SwifTools/Idle/MacOSXIdleQuerier.cpp b/SwifTools/Idle/MacOSXIdleQuerier.cpp
index b634fcb..233d7c6 100644
--- a/SwifTools/Idle/MacOSXIdleQuerier.cpp
+++ b/SwifTools/Idle/MacOSXIdleQuerier.cpp
@@ -14,7 +14,7 @@
namespace Swift {
-MacOSXIdleQuerier::MacOSXIdleQuerier() : ioService(NULL) {
+MacOSXIdleQuerier::MacOSXIdleQuerier() : ioService(0) {
mach_port_t masterPort;
IOMasterPort(MACH_PORT_NULL, &masterPort);
ioService = IOServiceGetMatchingService(masterPort, IOServiceMatching("IOHIDSystem"));