shithub: pdffs

Download patch

ref: 7662781cd7ff279c0b8129465bbd470768cfc9c0
parent: 9a75fdb2a24e222ec203f88c47f21db92d5a9556
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Sun Jul 2 16:59:28 EDT 2023

ops: fix a few unused variables

--- a/op.c
+++ b/op.c
@@ -484,6 +484,7 @@
 static int
 tsspace(Op *op, Page *p)
 {
+	USED(op);
 	p->TS.Tc = arrayget(p->stack, 0)->num.d;
 	return 1;
 }
@@ -491,6 +492,7 @@
 static int
 tswspace(Op *op, Page *p)
 {
+	USED(op);
 	p->TS.Tw = arrayget(p->stack, 0)->num.d;
 	return 1;
 }
@@ -635,7 +637,6 @@
 writepatched(Page *p, uchar c)
 {
 	int i, len, d = 0;
-	char buf[2];
 	Object *o;
 	if(p->GSactive->Font.enc != nil){
 		len = arraylen(p->GSactive->Font.enc);