shithub: gefs

Download patch

ref: 65f5f97788ca2451cbc24b07c9730e813d6d14a5
parent: 5b0200652a0fccf9b4eeeb518dbdb698f9bda71f
author: Ori Bernstein <ori@eigenstate.org>
date: Wed Nov 22 07:35:19 EST 2023

snap: btexit no longer needs a waserror

--- a/snap.c
+++ b/snap.c
@@ -238,10 +238,6 @@
 	PACK64(pfx+1, gen);
 	btnewscan(&s, pfx, sizeof(pfx));
 	btenter(&fs->snap, &s);
-	if(waserror()){
-		btexit(&s);
-		nexterror();
-	}
 	while(1){
 		if(!btnext(&s, &s.kv))
 			break;