The branch main has been updated by cy:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=ee44ab936e84bacaa49847d36aabdf280f9fecce

commit ee44ab936e84bacaa49847d36aabdf280f9fecce
Author:     Cy Schubert <[email protected]>
AuthorDate: 2026-02-05 15:18:09 +0000
Commit:     Cy Schubert <[email protected]>
CommitDate: 2026-02-05 15:26:01 +0000

    diff: Fix build
    
    rc must be defined first.
    
    Fixes:          590126789c84
    MFC after:      1 week
    X-MFC with:     590126789c84
---
 usr.bin/diff/diffdir.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/usr.bin/diff/diffdir.c b/usr.bin/diff/diffdir.c
index bd8ef73e785a..0e9beb80e6a1 100644
--- a/usr.bin/diff/diffdir.c
+++ b/usr.bin/diff/diffdir.c
@@ -235,6 +235,8 @@ static void
 diffit(struct dirent *dp, char *path1, size_t plen1, struct dirent *dp2,
        char *path2, size_t plen2, int flags)
 {
+       int rc;
+
        flags |= D_HEADER;
        strlcpy(path1 + plen1, dp->d_name, PATH_MAX - plen1);
 

Reply via email to