summaryrefslogtreecommitdiffstats
path: root/lib/pvi.c
diff options
context:
space:
mode:
authorEthan Werner <mail@ethanwerner.com>2026-08-09 15:02:21 +0400
committerEthan Werner <mail@ethanwerner.com>2026-08-09 15:02:21 +0400
commit3d92926a902017e7cf1f5738e99ff62da596ce12 (patch)
tree2b55422c26a48759d56fa91f06df24449e9dfa88 /lib/pvi.c
parent07e18043145f3d91c8ea7ec3ad41b3c905585277 (diff)
Diffstat (limited to 'lib/pvi.c')
-rw-r--r--lib/pvi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/pvi.c b/lib/pvi.c
index 26265d5..55ecb84 100644
--- a/lib/pvi.c
+++ b/lib/pvi.c
@@ -30,9 +30,8 @@ int ts_pvi(
{
TS_PROLOGUE( ts_pvi_p );
(void)c;
- fp_t pvi = 1000;
- if (n == 0) return -1;
+ fp_t pvi = 1000;
y[0][0] = pvi;