Fix compile of main loop unit test
authorJohannes Schanda <schanda@itestra.de>
Mon, 6 May 2013 14:07:17 +0000 (16:07 +0200)
committerJohannes Schanda <schanda@itestra.de>
Mon, 6 May 2013 14:07:17 +0000 (16:07 +0200)
src/test/DBusMainLoopIntegrationTest.cpp

index c39130c..c08c25e 100644 (file)
@@ -367,7 +367,7 @@ class DBusInGLibMainLoopTest: public ::testing::Test {
 
     std::map<CommonAPI::DispatchSource*, GSource*> gSourceMappings;
 
-    GIOChannel* dbusChannel_ = NULL;
+    GIOChannel* dbusChannel_;
 
     void watchAddedCallback(CommonAPI::Watch* watch, const CommonAPI::DispatchPriority dispatchPriority) {
         const pollfd& fileDesc = watch->getAssociatedFileDescriptor();