tests: Adding unit tests for the findType method of IoUtil

Change-Id: Id70a9df23667bc2f1ef4500b9cca88d2f0bd9aab
diff --git a/src/torrent-manager.cpp b/src/torrent-manager.cpp
index cb90908..c6780e2 100644
--- a/src/torrent-manager.cpp
+++ b/src/torrent-manager.cpp
@@ -77,7 +77,6 @@
   auto manifest_it =  manifests.begin();
   std::vector<FileManifest> output;
   output.reserve(manifests.size());
-  auto validIvalidInitialManifestNames_it = validInitialManifestNames.begin();
 
   for (auto& initialName : validInitialManifestNames) {
     // starting from the initial segment
@@ -756,4 +755,4 @@
 }
 
 }  // end ntorrent
-}  // end ndn
\ No newline at end of file
+}  // end ndn
diff --git a/src/util/io-util.hpp b/src/util/io-util.hpp
index d32ac65..8fef79e 100644
--- a/src/util/io-util.hpp
+++ b/src/util/io-util.hpp
@@ -48,8 +48,8 @@
    */
   enum NAME_TYPE
   {
-    FILE_MANIFEST,
     TORRENT_FILE,
+    FILE_MANIFEST,
     DATA_PACKET,
     UNKNOWN
   };
@@ -153,4 +153,4 @@
 } // namespace ntorrent
 } // namespace ndn
 
-#endif // INCLUDED_UTIL_IO_UTIL_H
\ No newline at end of file
+#endif // INCLUDED_UTIL_IO_UTIL_H