Remove unused setVector.
diff --git a/ndn-cpp/common.hpp b/ndn-cpp/common.hpp
index 79952a4..f5a737e 100644
--- a/ndn-cpp/common.hpp
+++ b/ndn-cpp/common.hpp
@@ -49,20 +49,7 @@
 #endif
 
 namespace ndn {
-  
-/**
- * Clear the vector and copy valueLength bytes from value.
- * @param v the vector to copy to
- * @param value the array of bytes, or 0 to not copy
- * @param valueLength the length of value
- */
-static inline void setVector(std::vector<unsigned char>& vec, const unsigned char *value, unsigned int valueLength) 
-{
-  vec.clear();
-  if (value)
-    vec.insert(vec.begin(), value, value + valueLength);  
-}
- 
+   
 /**
  * Return the hex representation of the bytes in array.
  * @param array The array of bytes.