shithub: pdffs

Download patch

ref: 8e5f56dadad7bcc32301470aa0b55972fc3abbb9
parent: 886a60cfed3741be9dc78b6eb4afdaedb88d6ed3
author: Noam Preil <noam@pixelhero.dev>
date: Thu Apr 7 20:14:52 EDT 2022

object: remove unused variable

--- a/object.c
+++ b/object.c
@@ -34,7 +34,7 @@
 char *
 suntilend(Stream *s)
 {
-	int sz, c, full = 0;
+	int sz, c;
 	char buf[8];
 	for(sz = 0; sz < 7; sz += 1){
 		c = Sgetc(s);
@@ -42,7 +42,6 @@
 			break;
 		if(isws(c) || isdelim(c)){
 			Sungetc(s);
-			full = 1;
 			break;
 		}
 		buf[sz] = c;