Scheduler: Avoid unnecessary now() calls in ClockService
[senf.git] / senf / Packets / bundledump.cc
index 19ec8d0..15bfcf7 100644 (file)
@@ -1,6 +1,6 @@
 // $Id$
 //
-// Copyright (C) 2009 
+// Copyright (C) 2009
 // Fraunhofer Institute for Open Communication Systems (FOKUS)
 // Competence Center NETwork research (NET), St. Augustin, GERMANY
 //     Stefan Bund <g0dil@berlios.de>
@@ -36,8 +36,8 @@
 int main(int argc, char const ** argv)
 {
     // Link in logger library ...
-    (void) senf::log::StreamRegistry::instance();
-    for (unsigned i (1); i<argc; ++i) {
+    senf::IGNORE( senf::log::StreamRegistry::instance() );
+    for (int i (1); i<argc; ++i) {
         senf::detail::PacketRegistryImplBase::clear();
         void *handle = dlopen(argv[i], RTLD_NOW | RTLD_GLOBAL);
         if (handle == NULL) {