Module Name:    src
Committed By:   simonb
Date:           Fri Oct  6 07:33:50 UTC 2023

Modified Files:
        src/external/bsd/less/dist: position.c

Log Message:
Reduce upstream diffs - remove a gcc warnings " = 0" change.  This
was a problem in 2006, doesn't appear to be a problem anymore.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/less/dist/position.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/less/dist/position.c
diff -u src/external/bsd/less/dist/position.c:1.5 src/external/bsd/less/dist/position.c:1.6
--- src/external/bsd/less/dist/position.c:1.5	Fri Oct  6 05:49:49 2023
+++ src/external/bsd/less/dist/position.c	Fri Oct  6 07:33:49 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: position.c,v 1.5 2023/10/06 05:49:49 simonb Exp $	*/
+/*	$NetBSD: position.c,v 1.6 2023/10/06 07:33:49 simonb Exp $	*/
 
 /*
  * Copyright (C) 1984-2023  Mark Nudelman
@@ -102,7 +102,6 @@ public void pos_clear(void)
 public void pos_init(void)
 {
 	struct scrpos scrpos;
-	scrpos.pos = scrpos.ln = 0;	/* XXX: GCC */
 
 	if (sc_height <= table_size)
 		return;

Reply via email to