shithub: mcfs

Download patch

ref: 5c91e882a725ff431be5abd6272e12b274307b72
parent: 32cb1d0119aa1d70eab4f21a9bdbfefbd299c299
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Thu Feb 18 04:29:24 EST 2021

ogg: remove useless branch

--- a/ogg.c
+++ b/ogg.c
@@ -37,7 +37,7 @@
 	h[25] = 0;
 
 	for(ntot = ip = 0; ip < np; ip++){
-		n = 1 + (p[ip].sz > 0 ? p[ip].sz/255 : 0);
+		n = 1 + p[ip].sz/255;
 		if(27+ntot+n >= nelem(h)){
 			werrstr("frame is too large");
 			return -1;