model: Fixing warning in ndn-wire.cc
diff --git a/model/wire/ndn-wire.cc b/model/wire/ndn-wire.cc
index 6296aa6..b9164e4 100644
--- a/model/wire/ndn-wire.cc
+++ b/model/wire/ndn-wire.cc
@@ -85,6 +85,9 @@
             case HeaderHelper::CONTENT_OBJECT_CCNB:
               NS_FATAL_ERROR ("Data packet supplied for InterestFromWire function");
               break;
+            default:
+              NS_FATAL_ERROR ("Unsupported format");
+              return 0;
             }
 
           // exception will be thrown if packet is not recognized
@@ -148,6 +151,9 @@
             case HeaderHelper::INTEREST_CCNB:
               NS_FATAL_ERROR ("Interest supplied for DataFromWire function");
               break;
+            default:
+              NS_FATAL_ERROR ("Unsupported format");
+              return 0;
             }
 
           // exception will be thrown if packet is not recognized