[med-svn] [SCM] aghermann branch, master, updated. 505432cf6ab4f88fa0a0d245da279903586957f3

Andrei Zavada johnhommer at gmail.com
Mon Apr 1 20:54:35 UTC 2013


The following commit has been merged in the master branch:
commit 37c3017ecf8fb0faed06ba43b3bdadc64a40e63c
Author: Andrei Zavada <johnhommer at gmail.com>
Date:   Mon Mar 11 15:33:43 2013 +0200

    shrink some whitespace and strings

diff --git a/src/common/config-validate.hh b/src/common/config-validate.hh
index 95ec325..1c124b0 100644
--- a/src/common/config-validate.hh
+++ b/src/common/config-validate.hh
@@ -33,13 +33,13 @@ using namespace std;
 
 template <typename T> libconfig::Setting::Type libconfig_type_id();
 
-template <> libconfig::Setting::Type inline libconfig_type_id<bool>  	  	  () { return libconfig::Setting::Type::TypeBoolean; }
-template <> libconfig::Setting::Type inline libconfig_type_id<int>   	  	  () { return libconfig::Setting::Type::TypeInt;     }
-template <> libconfig::Setting::Type inline libconfig_type_id<size_t>	  	  () { return libconfig::Setting::Type::TypeInt64;   }
-template <> libconfig::Setting::Type inline libconfig_type_id<const char*>	  () { return libconfig::Setting::Type::TypeString;  }
-template <> libconfig::Setting::Type inline libconfig_type_id<string>	  	  () { return libconfig::Setting::Type::TypeString;  }
-template <> libconfig::Setting::Type inline libconfig_type_id<double>	  	  () { return libconfig::Setting::Type::TypeFloat;   }
-template <> libconfig::Setting::Type inline libconfig_type_id<float> 	  	  () { return libconfig::Setting::Type::TypeFloat;   }
+template <> libconfig::Setting::Type inline libconfig_type_id<bool>  	   () { return libconfig::Setting::Type::TypeBoolean; }
+template <> libconfig::Setting::Type inline libconfig_type_id<int>   	   () { return libconfig::Setting::Type::TypeInt;     }
+template <> libconfig::Setting::Type inline libconfig_type_id<size_t>	   () { return libconfig::Setting::Type::TypeInt64;   }
+template <> libconfig::Setting::Type inline libconfig_type_id<const char*> () { return libconfig::Setting::Type::TypeString;  }
+template <> libconfig::Setting::Type inline libconfig_type_id<string>	   () { return libconfig::Setting::Type::TypeString;  }
+template <> libconfig::Setting::Type inline libconfig_type_id<double>	   () { return libconfig::Setting::Type::TypeFloat;   }
+template <> libconfig::Setting::Type inline libconfig_type_id<float> 	   () { return libconfig::Setting::Type::TypeFloat;   }
 
 
 
@@ -70,7 +70,7 @@ inline void
 put( libconfig::Config& C, const string& key, const size_t& value)
 {
 	if ( value > INT_MAX )
-		fprintf( stderr, "Value being saved way too long for any practical purpose (unintialized?): %zu\n", value);
+		fprintf( stderr, "Value being saved is way too long for any practical purpose (unintialized?): %zu\n", value);
 	ensure_path( C.getRoot(), libconfig_type_id<int>(), key) = (int)value;
 }
 
diff --git a/src/expdesign/tree-scanner.cc b/src/expdesign/tree-scanner.cc
index 553e2c7..0f18a14 100644
--- a/src/expdesign/tree-scanner.cc
+++ b/src/expdesign/tree-scanner.cc
@@ -308,7 +308,7 @@ scan_tree( TMsmtCollectProgressIndicatorFun user_progress_fun)
 	printf( "CExpDesign::scan_tree(): recordings collected\n");
 
 	compute_profiles(); // in an SMP fashion
-	printf( "CExpDesign::scan_tree() all computed\n");
+	printf( "CExpDesign::scan_tree(): all computed\n");
 
       // find any subjects with incomplete episode sets
 	list<string> complete_episode_set = enumerate_episodes();

-- 
Sleep experiment manager



More information about the debian-med-commit mailing list