Several corrections to make sure code compiles with gcc and doesn't generate warnings

Change-Id: I63e72ba724233953e9f36b11eca37070d6e06372
diff --git a/src/hash-helper.h b/src/hash-helper.h
index 41a8b8a..86b87c9 100644
--- a/src/hash-helper.h
+++ b/src/hash-helper.h
@@ -111,7 +111,7 @@
     if (m_length > otherHash.m_length)
       return false;
 
-    for (int i = 0; i < m_length; i++)
+    for (unsigned int i = 0; i < m_length; i++)
       {
         if (m_buf [i] < otherHash.m_buf [i])
           return true;
diff --git a/src/sync-log.cc b/src/sync-log.cc
index 47b1adf..5881bd9 100644
--- a/src/sync-log.cc
+++ b/src/sync-log.cc
@@ -32,10 +32,10 @@
 using namespace std;
 using namespace Ccnx;
 
-static  void xTrace (void*, const char* q)
-{
-  cout << q << endl;
-}
+// static  void xTrace (void*, const char* q)
+// {
+//   cout << q << endl;
+// }
 
 const std::string INIT_DATABASE = "\
 CREATE TABLE                                                    \n\