From ffa2e0acf1a6d3dd351e4dcaace22d0a7e5b4855 Mon Sep 17 00:00:00 2001 From: Omar Sandoval Date: Wed, 9 Dec 2020 10:20:37 -0800 Subject: [PATCH] libdrgn: add missing break in drgn_object_copy() Signed-off-by: Omar Sandoval --- libdrgn/object.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libdrgn/object.c b/libdrgn/object.c index 32fd115e..22d072de 100644 --- a/libdrgn/object.c +++ b/libdrgn/object.c @@ -502,6 +502,7 @@ drgn_object_copy(struct drgn_object *res, const struct drgn_object *obj) case DRGN_OBJECT_UNAVAILABLE: drgn_object_reinit_copy(res, obj); res->kind = DRGN_OBJECT_UNAVAILABLE; + break; ) return NULL; }