Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
few fixes and improvements in bittorrent
[simgrid.git] / examples / msg / app-bittorrent / messages.c
index ce8f93e..5c8dff5 100644 (file)
@@ -112,6 +112,8 @@ int task_message_size(e_message_type type)
   case MESSAGE_CANCEL:
     size = MESSAGE_CANCEL_SIZE;
     break;
+  default:
+    THROW_IMPOSSIBLE;
   }
   return size;
 }