Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove unused variable.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Thu, 14 Jun 2012 20:35:54 +0000 (22:35 +0200)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Thu, 14 Jun 2012 20:36:46 +0000 (22:36 +0200)
src/msg/msg_vm.c

index 4eb77b0..ea787f6 100644 (file)
@@ -149,8 +149,8 @@ void MSG_vm_resume(msg_vm_t vm) {
  * No extra delay occurs. If you want to simulate this too, you want to
  * use a #MSG_process_sleep() or something. I'm not quite sure.
  */
-void MSG_vm_shutdown(msg_vm_t vm) {
-  unsigned int cpt;
+void MSG_vm_shutdown(msg_vm_t vm)
+{
   m_process_t process;
   XBT_DEBUG("%d processes in the VM",xbt_dynar_length(vm->processes));
   while (xbt_dynar_length(vm->processes) > 0) {