Explorar o código

libdpkg: Return early from dpkg_arch_unmark()

Guillem Jover %!s(int64=14) %!d(string=hai) anos
pai
achega
14d0763f3f
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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;
 		}
 	}
 }