Ver código fonte

libdpkg: Return early from dpkg_arch_unmark()

Guillem Jover 14 anos atrás
pai
commit
14d0763f3f
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      lib/dpkg/arch.c

+ 1 - 0
lib/dpkg/arch.c

@@ -256,6 +256,7 @@ dpkg_arch_unmark(struct dpkg_arch *arch_remove)
 		if (arch == arch_remove) {
 			arch->type = arch_unknown;
 			arch_list_dirty = true;
+			return;
 		}
 	}
 }