diff --git a/pd/src/g_editor.c b/pd/src/g_editor.c
index be2802fe6fe76dce2280efba2daa5faf578124d8..98b8feb0234d76dc3cd2657e05c96e4bdb07f761 100644
--- a/pd/src/g_editor.c
+++ b/pd/src/g_editor.c
@@ -253,8 +253,6 @@ int canvas_restore_original_position(t_glist *x, t_gobj *y, const char* objtag,
 
 	if (y->g_next) {
 		ob = pd_checkobject(&y->g_next->g_pd);
-	} else {
-		ret = 1;
 	}
 	if (ob) {
 		yrnxt = glist_findrtext(x, (t_text *)&ob->ob_g);